Draws the text on the page.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfTextLayoutResult Draw(
	PdfNewPage page,
	PointF location,
	float width,
	PdfTextLayout format
)
Public Function Draw ( 
	page As PdfNewPage,
	location As PointF,
	width As Single,
	format As PdfTextLayout
) As PdfTextLayoutResult
public:
PdfTextLayoutResult^ Draw(
	PdfNewPage^ page, 
	PointF location, 
	float width, 
	PdfTextLayout^ format
)
member Draw : 
        page : PdfNewPage * 
        location : PointF * 
        width : float32 * 
        format : PdfTextLayout -> PdfTextLayoutResult 

Parameters

page
PdfNewPage
Current page where the text should be drawn.
location
PointF
Start location on the page.
width
Single
Width of the text bounds.
format
PdfTextLayout
Lay outing format.

Return Value

PdfTextLayoutResult
Lay outing result.

See Also