TTMSFNCWXHTMLJSONFormatterAppearance Class
Holds the colors and font used when rendering JSON with the custom color scheme. Apply these settings by selecting the custom theme on the formatter.
API unit family: TMSFNCWXJSONFormatter
Inherits from: TPersistent
Syntax
TTMSFNCWXHTMLJSONFormatterAppearance = class(TPersistent)
Remarks
The colors are applied only when the formatter theme is set to ftCustom. Changing any value raises the change notification so the owning control can refresh its output.
Properties
| Name | Description |
|---|---|
| BackGroundColor | Specifies the background color of the rendered output. |
| BooleanColor | Specifies the color used to draw boolean values. |
| BracketColor | Specifies the color used to draw brackets and braces that delimit objects and arrays. |
| DateBackgroundColor | Specifies the background color used behind detected date values. |
| FontName | Specifies the name of the font used for the rendered output. |
| FunctionColor | Specifies the color used to draw function values. |
| KeyColor | Specifies the color used to draw object key names. |
| LinkColor | Specifies the color used to draw clickable links. |
| NullColor | Specifies the color used to draw null values. |
| NumberColor | Specifies the color used to draw numeric values. |
| URLColor | Specifies the color used to draw detected URL values. |
| UndefinedColor | Specifies the color used to draw undefined values. |
| stringColor | Specifies the color used to draw string values. |
Events
| Name | Description |
|---|---|
| OnChange | Occurs when any appearance setting changes so the owning control can refresh the rendered output. |