StiHtmlUnit Class
Namespace: Stimulsoft.Report.Export
Methods
| Method | Returns | Description |
|---|---|---|
isNullOrZero static |
boolean | |
newUnit static |
StiHtmlUnit | |
newUnit2 static |
StiHtmlUnit | |
toPixelString static |
string | |
| toString | string |
Method Details
isNullOrZero static
isNullOrZero(unit: StiHtmlUnit): boolean
Parameters
- unit (StiHtmlUnit)
Returns boolean
newUnit static
newUnit(value: number, usePoints: boolean): StiHtmlUnit
Parameters
- value (number)
- usePoints (boolean)
Returns StiHtmlUnit
newUnit2 static
newUnit2(value: number, unitType: StiHtmlUnitType): StiHtmlUnit
Parameters
- value (number)
- unitType (StiHtmlUnitType)
Returns StiHtmlUnit
toPixelString static
toPixelString(value: number): string
Parameters
- value (number)
Returns string
toString
toString(): string
Returns string
Fields
| Field | Type | Description |
|---|---|---|
| unitType | StiHtmlUnitType | |
| value | any |