StiThemesHelper Class
Namespace: Stimulsoft.Viewer
Methods
| Method | Returns | Description |
|---|---|---|
applyTheme static |
void | |
checkThemeInCss static |
||
getAccentTheme static |
string | |
getImage static |
void | |
getImageSource static |
||
getThemeName static |
string | |
setImageSource static |
void |
Method Details
applyTheme static
applyTheme(themeName: string, accentName: string, appName: string): void
Parameters
- themeName (string)
- accentName (string)
- appName (string)
checkThemeInCss static
checkThemeInCss(appName: string): void
Parameters
- appName (string)
getAccentTheme static
getAccentTheme(themeType: {}, themeValue: number): string
Parameters
- themeType ({})
- themeValue (number)
Returns string
getImage static
getImage(obj: any, path: string[]): void
Parameters
- obj (any)
- path (string[])
getImageSource static
getImageSource(sourceObject: any, options: any, name: string): void
Parameters
- sourceObject (any)
- options (any)
- name (string)
getThemeName static
getThemeName(themeType: {}, themeValue: number): string
Parameters
- themeType ({})
- themeValue (number)
Returns string
setImageSource static
setImageSource(sourceObject: any, htmlImage: any, options: any, name: string, transform: boolean): void
Parameters
- sourceObject (any)
- htmlImage (any)
- options (any)
- name (string)
- transform (boolean)
Fields
| Field | Type | Description |
|---|---|---|
| imageData | any | |
| imageHeight | any | |
| imageHeight | any | |
| imageWidth | any | |
| imageWidth | any | |
| scale | any | |
| styleText | any | |
| stylesText | any | |
| themeFolder | any | |
| themeFolder | any | |
| themeFolder | any | |
| themeToneFolder | any |