PdfFontBase
MeasureString Method (String)
|
Measures a string by using this font.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public SizeF MeasureString(
string text
)
Public Function MeasureString (
text As String
) As SizeF
public:
SizeF MeasureString(
String^ text
)
member MeasureString :
text : string -> SizeF
Parameters
-
text
-
Type:
System
String
Text to be measured.
Return Value
Type:
SizeF
Size of the text.
See Also