Help > Web Development > Object Reference > Object Reference > ISYSImageCache > Prepare Method
<a name="kanchor421"></a>ISYSImageCache:Prepare Method
The Prepare method primes the image cache ready to return a documents images. You must call this method before a document's images can be retrieved.

Syntax
[VBScript]
sub ISYSImageCache.Prepare(_
  ISYSDocument  Document, _ 
  variant Keys_ 
)
[C#]
void ISYSImageCache.Prepare(
  IISYSDocument  Document, 
  System.Object Keys
);
[ColdFusion/Java]
void IISYSImageCache.Prepare(
  IISYSDocument  Document, 
  System.Object Keys
) throws ComException;
Parameters
DocumentInidicates the document whos images are about to be retrieved.
KeysIndicates one or more keys that uniquely identify a document, this is generally the result list ID and document index.

See Also