StiHtmlTextRender Class
Namespace: Stimulsoft.Report.Components
Methods
| Method | Returns | Description |
|---|---|---|
breakText static |
string[] | |
drawString static |
void | |
drawTextForOutput static |
void | |
getOutlineTextMetricsCached static |
StiOutlineTextMetric | |
measureString static |
Size |
Method Details
breakText static
breakText(rect: Rectangle, text: string, textBox: StiText): string[]
Parameters
- rect (Rectangle)
- text (string)
- textBox (StiText)
Returns string[]
drawString static
drawString(g: Graphics, rect: Rectangle, text: string, textBox: StiText): void
Parameters
drawTextForOutput static
drawTextForOutput(textBox: StiText, outRunsList: any, outFontsList: any): void
Parameters
- textBox (StiText)
- outRunsList (any)
- outFontsList (any)
getOutlineTextMetricsCached static
getOutlineTextMetricsCached(fontName: string, fontStyle: FontStyle): StiOutlineTextMetric
Parameters
- fontName (string)
- fontStyle (FontStyle)
Returns StiOutlineTextMetric
measureString static
measureString(textBox: StiText): Size
Parameters
- textBox (StiText)
Returns Size
Fields
| Field | Type | Description |
|---|---|---|
| lineHeight | any | |
| symHeight | any |