PdfHTMLTextElement
Draw Method (PdfNewPage, RectangleF, PdfMetafileLayoutFormat)
|
Draws the text 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(
PdfNewPage page,
RectangleF layoutRectangle,
PdfMetafileLayoutFormat format
)
Public Function Draw (
page As PdfNewPage,
layoutRectangle As RectangleF,
format As PdfMetafileLayoutFormat
) As PdfLayoutResult
public:
PdfLayoutResult^ Draw(
PdfNewPage^ page,
RectangleF layoutRectangle,
PdfMetafileLayoutFormat^ format
)
member Draw :
page : PdfNewPage *
layoutRectangle : RectangleF *
format : PdfMetafileLayoutFormat -> PdfLayoutResult
Parameters
-
page
-
Type:
Spire.Pdf
PdfNewPage
Current page where the text should be drawn.
-
layoutRectangle
-
Type:
System.Drawing
RectangleF
RectangleF structure that specifies the bounds of the text.
-
format
-
Type:
Spire.Pdf.Graphics
PdfMetafileLayoutFormat
Layout format.
Return Value
Type:
PdfLayoutResult
Layout result.
See Also