Winnovative PDF Creator Library for .NET
MeasureString Method (text, font)
NamespacesWinnovative.PdfCreatorElementsRendererMeasureString(String, PdfFont)
Winnovative PDF Creator Library for .NET
Measures the size of the specified string when rendered with the specified font.
Declaration Syntax
C#Visual BasicVisual C++
public SizeF MeasureString(
	string text,
	PdfFont font
)
Public Function MeasureString ( _
	text As String, _
	font As PdfFont _
) As SizeF
public:
SizeF MeasureString(
	String^ text, 
	PdfFont^ font
)
Parameters
text (String)
String to measure.
font (PdfFont)
The font used to render the string.
Return Value
The size of the string.

Assembly: Winnovative.PdfCreator (Module: Winnovative.PdfCreator) Version: 6.0.0.0 (6.0.0.0)