[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Configures the writer class instance for the image type.
Source position: graphics.pp line 1437
protected procedure TFPImageBitmap.InitializeWriter( |
AImage: TLazIntfImage; |
AWriter: TFPCustomImageWriter |
); virtual; |
AImage |
|
LCL interface image with the image data for the write class instance. |
AWriter |
|
FCL image write instance updated in the method. |
InitializeWriter is a virtual method used to configure the FCL-compatible image writer class instance in AWriter. InitializeWriter assigns the Progress method to the OnProgress event handler in AWriter. When AWriter implements the ILazImageWriter interface, its Initialize method is called to store the data for the LCL interface image in AImage.
InitializeWriter is called from the WriteStream method prior to any operation that writes the raw image data to a stream.
Version 4.0 | Generated 2025-05-03 | Home |