TdxPDFPageRect.Create(TdxPDFPagePoint,TdxPDFPagePoint) Method
Creates a rectangle based on two points in a PDF document.
Declaration
class function Create(const P1: TdxPDFPagePoint; const P2: TdxPDFPagePoint): TdxPDFPageRect; overload; static;
Parameters
| Name | Type | Description |
|---|---|---|
| P1 | TdxPDFPagePoint | Defines a point in a PDF document. |
| P2 | TdxPDFPagePoint | Defines a point in a PDF document. |
Returns
| Type | Description |
|---|---|
| TdxPDFPageRect | Defines a rectangle in a PDF document. |
Remarks
The P1 and P2 parameters specify the upper-left and bottom-right corners of a rectangle in a PDF document. The Create function uses the P1.PageIndex property value to initialize the PageIndex property of a newly created rectangle.
See Also