rvico TRichView Reference | TCustomRVPrint

TCustomRVPrint.ColorMode

Top  Previous  Next

Sets color mode for printing and drawing preview

type // declared in RVStyle unit

  TRVColorMode = (rvcmColor, rvcmPrinterColor,

    rvcmGrayScale, rvcmBlackAndWhite, rvcmBlackOnWhite);

 

property ColorMode: TRVColorMode

(Introduced in version 1.8)

This property affects printing text, paragraph background, breaks, list markers, tables.

This property does not affect printing pictures.

Mode

Meaning

rvcmColor

Color output.

rvcmPrinterColor

Color output, but the following colors are changed:

clWindow, clBtnHighlight to clWhite,
clWindowText to clBlack,
clBtnShadow to clGray,
clBtnFace, clScrollbar to clSilver.

rvcmGrayScale

Colors are converted to shades of gray.

rvcmBlackAndWhite

Paragraphs backgrounds are not printed; text is printed black on white or white on black depending on what is darker.

rvcmBlackOnWhite

Paragraphs backgrounds are not printed; text is printed black on white.

Default values:

rvcmColor for TRVReportHelper;
rvcmPrinterColor for TRVPrint.


RichView © Sergey Tkachenko