JVCL Help:TJvPictureItem.ReduceMemoryUsage

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Minimizes memory usage.


Pascal

 procedureReduceMemoryUsage; override;


Description

ReduceMemoryUsage minimizes the memory used by the item by freeing the Picture object but only if Filename specifies an existing file (no check is done to determine if Filename is a valid image file). When the Picture property of the item is accessed the next time, the image is recreated from disk.
You don't have to call ReduceMemoryUsage directly. It is called automatically by the TJvImagesViewer when its Options.ReduceMemoryUsage property is true.


See Also

TJvPictureItem.FileName, TJvPictureItem.Picture


About

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