|Top Previous Next|
Call this method when the screen color resolution changed (on WM_DISPLAYCHANGE), if you are using this RVPrint for displaying print preview.
This method is necessary (only) if you need to support 256 color display mode.
TRVPrint uses the same method of working in 256 color mode as its source RichView (see RichView.DoInPaletteMode). Information about source RichView.DoInPaletteMode is updated when executing AssignSource method.
It's not necessary to call this method if RichView.DoInPaletteMode=rvpaDoNothing, or if you are not using this TRVPrint object for displaying print preview in TRVPrintPreview.
Call UpdatePaletteInfo if you created TRVPrint at run-time (instead of placing at design-time on a form) after you have created it.
See also methods of TRichView:
TRichView © trichview.com