StiTextContentHelper Class
Namespace: Stimulsoft.Report.Chart
Methods
| Method | Returns | Description |
|---|---|---|
getMeasureText static |
string | |
getMeasureText2 static |
string |
Method Details
getMeasureText static
getMeasureText(context: StiContext, text: string, font: Font, maxWidth: number): string
Parameters
- context (StiContext)
- text (string)
- font (Font)
- maxWidth (number)
Returns string
getMeasureText2 static
getMeasureText2(context: StiContext, text: string, font: StiFontGeom, maxWidth: number): string
Parameters
- context (StiContext)
- text (string)
- font (StiFontGeom)
- maxWidth (number)
Returns string