DrFont.GetTextWidthPoints
GetTextWidthPoints(string)
Gets the text width points.
public float GetTextWidthPoints(string text)
| Parameter | Type | Description |
|---|---|---|
| text | String | The text to calculate. |
Return Value
Returns width
See Also
- class DrFont
- namespace Aspose.Page.Font
- assembly Aspose.Page
GetTextWidthPoints(string, int, int)
Gets the text width points.
public float GetTextWidthPoints(string text, int startIndex, int charCount)
| Parameter | Type | Description |
|---|---|---|
| text | String | The text to calculate. |
| startIndex | Int32 | The start index. |
| charCount | Int32 | The char count. |
Return Value
Returns width
See Also
- class DrFont
- namespace Aspose.Page.Font
- assembly Aspose.Page