|
RV_RegisterPngGraphic Procedure |
Top Previous Next |
|
Registers PNG graphic class for using in TRichView. Unit RVMisc. procedure RV_RegisterPngGraphic(ClassType: TGraphicClass); (introduced in version 10) Parameter ClassType – class representing PNG image.
Call this procedure one time when the application starts (for example, in the initialization section of the main form's unit). If PNG class is registered with this procedure, TRichView controls can save and load PNG images in RTF files. Optionally, bitmaps can be saved as PNG too, see TCustomRichView.RTFOptions property (rvrtfPNGInsteadOfBitmap). Delphi does not include PNG class, so use third party classes. See also: Web links:
|