RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebImageHREF.WebImageHREF Method

Retrieves a URL for an external image file.

Pascal
function WebImageHREF(var AHREF: string): Boolean;
C++
__fastcall Boolean WebImageHREF(AnsiString AHREF);

WebImageHREF is called when server-side script uses the Image.AsHREF property. WebImageHREF returns a URL that identifies a specific image that is available as a simple file reference. If images must be generated dynamically in response to requests, then WebImageHREF returns false and the adapter dispatcher generates an HREF based on the request parameters supplied by the object that implements this interface.  

AHREF returns the URL that identifies the image of this field. 

WebImageHREF returns true if it supplies a URL as the value of the AHREF parameter, false if the HTML form must request images using a set of request parameters instead. 

 

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