Font.MeasureString
Font.MeasureString method
Measures the string.
public double MeasureString(string str, float fontSize)
Parameter | Type | Description |
---|---|---|
str | String | The string. |
fontSize | Single | Font size. |
Return Value
Width of the string represented with this font and the specified size.
See Also
- class Font
- namespace Aspose.Pdf.Text
- assembly Aspose.PDF