MaintainAspect property (ILEADRasterThumbnail)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

VARIANT_BOOL MaintainAspect

Overview

Refer to Thumbnail Browser.

Remarks

Flag indicating if the aspect ratio of the image should be maintained when generating thumbnails. When set to TRUE, the generated thumbnail's width and height will not match both ThumbnailWidth and ThumbnailHeight if the original aspect ratio was not the same as the ratio between ThumbnailWidth and ThumbnailHeight. If you desire the thumbnail be generated with exactly the requested width and height while still maintaining aspect ratio of the actual image, set both MaintainAspect and ForceSize to True.

Default setting is True.

See Also

Elements:

BrowseDir method, ThumbnailWidth property, ThumbnailHeight property, ForceSize property, ThumbnailBackgroundColor property, Resample property

Topics:

Raster Images: Using the Thumbnail Browser