PdfHTMLTextElement
Draw Method (PdfNewPage, PointF, Single, 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,
PointF location,
float width,
PdfMetafileLayoutFormat format
)
Public Function Draw (
page As PdfNewPage,
location As PointF,
width As Single,
format As PdfMetafileLayoutFormat
) As PdfLayoutResult
public:
PdfLayoutResult^ Draw(
PdfNewPage^ page,
PointF location,
float width,
PdfMetafileLayoutFormat^ format
)
member Draw :
page : PdfNewPage *
location : PointF *
width : float32 *
format : PdfMetafileLayoutFormat -> PdfLayoutResult
Parameters
-
page
-
Type:
Spire.Pdf
PdfNewPage
Current page where the text should be drawn.
-
location
-
Type:
System.Drawing
PointF
Start location on the page.
-
width
-
Type:
System
Single
Width of the text bounds.
-
format
-
Type:
Spire.Pdf.Graphics
PdfMetafileLayoutFormat
Layout format.
Return Value
Type:
PdfLayoutResult
Lay outing result.
See Also