XGraphicsMeasureString Method (String, XFont, XStringFormat)Terminal Works - PDF Printing.Net Library
Measures the specified string when drawn with the specified font.

Namespace: PdfEdit.Drawing
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax

public XSize MeasureString(
	string text,
	XFont font,
	XStringFormat stringFormat
)

Parameters

text
Type: SystemString
font
Type: PdfEdit.DrawingXFont
stringFormat
Type: PdfEdit.DrawingXStringFormat

Return Value

Type: XSize
See Also

Reference