ImageEn, unit iemview

TImageEnMView.ImageOriginalWidth

TImageEnMView.ImageOriginalWidth


Declaration


property ImageOriginalWidth[idx: Integer]: Integer;


Description


Use ImageOriginalWidth to read or set the original width of the image, idx.

This is useful only when images are stored as thumbnails (StoreType = ietThumb/ietFastThumb) and you need to know the original image size.

Note: If images are being loaded on demand, then the image dimensions will not be valid until the image is loaded. Either use the OnImageLoaded to delay until the image is ready, or force loading of the image by using EnsureImageLoaded


See Also


- ImageOriginalHeight