StiTextElementHelper Class
Namespace: Stimulsoft.Designer.Dashboards
Constructors
| Constructor | Description |
|---|---|
| constructor(IStiTextElement textElement) |
constructor(textElement: IStiTextElement)
Parameters
- textElement (IStiTextElement)
Methods
| Method | Returns | Description |
|---|---|---|
checkFontProperties static |
void | |
createTextElementFromDictionary static |
void | |
| executeJSCommand | void | |
getFontProperty static |
Font | |
getForeColorsProperty static |
any[] | |
getHorAlignmentProperty static |
StiTextHorAlignment | |
getMeasureItems static |
||
getMeterFunctions static |
string[] | |
setFontProperties static |
void |
Method Details
checkFontProperties static
checkFontProperties(textElement: IStiTextElement): void
Parameters
- textElement (IStiTextElement)
createTextElementFromDictionary static
createTextElementFromDictionary(report: StiReport, param: any, callbackResult: any): void
Parameters
- report (StiReport)
- param (any)
- callbackResult (any)
executeJSCommand
executeJSCommand(parameters: any, callbackResult: any): void
Parameters
- parameters (any)
- callbackResult (any)
getFontProperty static
getFontProperty(textElement: IStiTextElement): Font
Parameters
- textElement (IStiTextElement)
Returns Font
getForeColorsProperty static
getForeColorsProperty(textElement: IStiTextElement): any[]
Parameters
- textElement (IStiTextElement)
Returns any[]
getHorAlignmentProperty static
getHorAlignmentProperty(textElement: IStiTextElement): StiTextHorAlignment
Parameters
- textElement (IStiTextElement)
Returns StiTextHorAlignment
getMeasureItems static
getMeasureItems(textElement: IStiTextElement): void
Parameters
- textElement (IStiTextElement)
getMeterFunctions static
getMeterFunctions(meter: IStiMeter, dashboard: IStiDashboard): string[]
Parameters
- meter (IStiMeter)
- dashboard (IStiDashboard)
Returns string[]
setFontProperties static
setFontProperties(textElement: IStiTextElement, fontAttrs: any): void
Parameters
- textElement (IStiTextElement)
- fontAttrs (any)
Fields
| Field | Type | Description |
|---|---|---|
| closeTags | any | |
| closeTags | any | |
| closeTags | any | |
| colorText | any | |
| compXPos | any | |
| movingMeter | any | |
| propertyValue | any | |
| startIndex | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| text | any | |
| textBlock | any | |
| textBlock | any | |
| textBlock | any | |
| textBlock | any |