PdfContents.DrawText Method (PdfFont, Double, Double, Double, KerningAdjust[])

PDF File Writer

PdfContentsDrawText Method (PdfFont, Double, Double, Double, KerningAdjust)

Draw text with kerning array

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,
	double PosX,
	double PosY,
	KerningAdjust[] KerningArray
)

Parameters

Font
Type: PdfFileWriterPdfFont
Font
FontSize
Type: SystemDouble
Font size
PosX
Type: SystemDouble
Position X
PosY
Type: SystemDouble
Position Y
KerningArray
Type: PdfFileWriterKerningAdjust
Kerning array

Return Value

Type: Double
Text width
Remarks
Each kerning item consists of text and position adjustment. The adjustment is a negative number.
See Also