PdfContents.DrawText Method (PdfFont, Double, String)

PDF File Writer

PdfContentsDrawText Method (PdfFont, Double, String)

Draw text

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public double DrawText(
	PdfFont Font,
	double FontSize,
	string Text
)

Parameters

Font
Type: PdfFileWriterPdfFont
Font
FontSize
Type: SystemDouble
Font size
Text
Type: SystemString
Text

Return Value

Type: Double
Text width
Remarks
This method must be used together with BeginTextMode, EndTextMode and SetTextPosition.
See Also