PdfLayoutWidget
Draw Method (PdfPageBase, Single, Single, PdfTextLayout)
|
Draws the element on the page.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public PdfLayoutResult Draw(
PdfPageBase page,
float x,
float y,
PdfTextLayout format
)
Public Function Draw (
page As PdfPageBase,
x As Single,
y As Single,
format As PdfTextLayout
) As PdfLayoutResult
public:
PdfLayoutResult^ Draw(
PdfPageBase^ page,
float x,
float y,
PdfTextLayout^ format
)
member Draw :
page : PdfPageBase *
x : float32 *
y : float32 *
format : PdfTextLayout -> PdfLayoutResult
Parameters
-
page
-
Type:
Spire.Pdf
PdfPageBase
Current page where the element should be drawn.
-
x
-
Type:
System
Single
X co-ordinate of the element on the page.
-
y
-
Type:
System
Single
Y co-ordinate of the element on the page.
-
format
-
Type:
Spire.Pdf.Graphics
PdfTextLayout
Layout format.
Return Value
Type:
PdfLayoutResult
Layout result.
See Also