RichViewCSSUseSystemColors Typed Constant [VCL and LCL]

<< Click to display table of contents >>

RichViewCSSUseSystemColors Typed Constant [VCL and LCL]

Unit: RVHtmlSave;

Syntax

const

  RichViewCSSUseSystemColors: Boolean = True;

Enables using system colors when saving HTML with CSS.

Color

CSS value

clWindow

canvas

clWindowText

canvastext

clBtnFace

buttonface

clBtnText

buttontext

clGrayText

graytext

clHighlight

highlight

clHighlightText

hightlightext

Older browsers do not support these colors in CSS. You can disable saving system colors by assigning RichViewCSSUseSystemColors = False. clWindowText will be saved as black, clWindow as white, other system colors will be converted to RGB depending in the system settings.