RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterImageField.GetAdapterItemRequestParams Method

Provides a unique identifier and a set of name/value pairs that will be used to create a URL and also be used later when a request is received to generate the adapter field's image file.

Pascal
procedure GetAdapterItemRequestParams(var AIdentifier: string; AParams: IAdapterItemRequestParams);
C++
__fastcall GetAdapterItemRequestParams(AnsiString AIdentifier, IAdapterItemRequestParams AParams);

WebImageHREF and GetAdapterItemRequestParams are used to identify the URL that is used to retrieve the image file associated with this adapter field. These functions are called when server-side script uses the Image.AsHREF property. If WebImageHREF returns False then GetAdapterItemRequestParams is called. WebImageHREF is responsible for returning a reference to an external object. GetAdapterItemRequestParams is used to generate a URL that will result in a request to the adapter field to dynamically generate the image file. GetAdapterItemRequestParams calls OnGetParams to get the name/value pairs. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!