PdfFont.TextBoundingBox Method

PDF File Writer

PdfFontTextBoundingBox Method

Text bounding box in user coordinate units.

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

Parameters

FontSize
Type: SystemDouble
Font size
Text
Type: SystemString
Text

Return Value

Type: PdfRectangle
Bounding box
See Also