ITextStyle
Defines the visual style applied to a text fragment in an exported PDF document.
Specifies the text color.
Supported formats:
- Hexadecimal color values with an optional alpha channel (for example,
"#ff0000","#0000FF80") - RGB and RGBA functional notation (for example,
"rgb(255, 0, 0)","rgba(0, 0, 255, 0.5)") - CSS-named colors (for example,
"green","red","aliceblue")
- Type:
- string readonly
- Implemented in:
- ITextStyle
Specifies the font family.
Possible values:
"Helvetica""Courier""Times""Symbol""ZapfDingbats"- Custom font name
- Type:
- string readonly
- Implemented in:
- ITextStyle
Specifies the font style.
Possible values:
"normal""bold""italic""bolditalic"
- Type:
- string readonly
- Implemented in:
- ITextStyle
Send feedback to the SurveyJS team
Need help? Visit our support page