trichview.support
Re: RV_RegisterPngGraphic and RegisterClass |
Author |
Message |
Sergey Tkachenko |
Posted: 04/28/2005 0:22:33 RegisterClass can be used for any class. It allows loading objects of these classes using standard Delphi streaming mechanism. As for TRichView, call of RegisterClass is required in order to load graphic and control from RVF. RV_RegisterPngGraphic must be called only for one class, representing PNG images. It enables special processing for PNG files. Currently, it allows saving and loading PNG in RTF. As for you question - call them both. > > What is the diference between these two procedures? > RV_RegisterPngGraphic(TPNGObject); > RegisterClass(TPNGObject); > > I am using the second one to enable PNG support in TRV, but also found the > first one in newsgroup. Which is "better"? > > Thank you. > PS |
Powered by ABC Amber Outlook Express Converter