StiElectronicSignatureHelper Class
Namespace: Stimulsoft.Viewer
Methods
| Method | Returns | Description |
|---|---|---|
applySignatures static |
void | |
base64ToByteArray static |
number[] | |
checkSignedReport static |
boolean | |
clearSignature static |
void | |
getSignatureData static |
any | |
getStylesForSignature static |
any[] | |
jsonToFont static |
Font | |
stringToColor static |
Color |
Method Details
applySignatures static
applySignatures(report: StiReport, signatures: any[]): void
Parameters
- report (StiReport)
- signatures (any[])
base64ToByteArray static
base64ToByteArray(base64String: string): number[]
Parameters
- base64String (string)
Returns number[]
checkSignedReport static
checkSignedReport(report: StiReport): boolean
Parameters
- report (StiReport)
Returns boolean
clearSignature static
clearSignature(report: StiReport, requestParams: StiRequestParams): void
Parameters
- report (StiReport)
- requestParams (StiRequestParams)
getSignatureData static
getSignatureData(report: StiReport, requestParams: StiRequestParams): any
Parameters
- report (StiReport)
- requestParams (StiRequestParams)
Returns any
getStylesForSignature static
getStylesForSignature(): any[]
Returns any[]
jsonToFont static
jsonToFont(fontJson: any): Font
Parameters
- fontJson (any)
Returns Font
stringToColor static
stringToColor(colorStr: string): Color
Parameters
- colorStr (string)
Returns Color
Fields
| Field | Type | Description |
|---|---|---|
| bytes | any | |
| mimeType | any | |
| mimeType | any | |
| mimeType | any | |
| mimeType | any | |
| mimeType | any | |
| newColor | any | |
| newColor | any |