JCL Help:TJclPeBorImagesCache.Images

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns a TJclPeImage instance for the specified image file.


Pascal

 public property Images [const FileName: TFileName]: TJclPeBorImage;


Description

The Images property returns an TJclPeImage object for the image file specified by the FileName index. If there is already an object for that image in the cache the property returns a reference to it. If there isn't an object in the cache yet the property creates the object first and then returns a reference to this newly created object. The FileName index should be the fully qualified name of the image file for which you need a TJclPeImage instance. If the filename is not fully qualified and can't be found in the usually directories (path, system etc) an exception is raised. Note that any references to TJclPeImage instances retrieved through the cache become invalid when the TJclPeImagesCache object is destroyed or when it's Clear method is called.


About

Donator

Petr Vones


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page