RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterImageField.RenderAdapterImage Method

Writes the image described by an image request to the current response message.

Pascal
procedure RenderAdapterImage(ARequest: IImageRequest; AResponse: IImageResponse);
C++
__fastcall RenderAdapterImage(IImageRequest ARequest, IImageResponse AResponse);

You should not need to use the RenderAdapterImage method. This method is used internally by the ImplHandleRequest method to obtain the image that is the value of this field and write it to the current response message. 

ARequest is an interface from which to read the name of the requested image. 

AResponse is an interface for the current response object. 

RenderAdapterImage generates an OnGetImage event to allow an event handler to supply an image for writing to the response message. If there is no image supplied by an OnGetImage event handler, RenderAdapterImage fetches the value of the associated graphic field. Finally, this method writes the content of the image to the current response message. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!