ForceSize property (Thumbnail Browser Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool ForceSize

Delphi Syntax

ForceSize : Boolean

Overview

Refer to Thumbnail Browser.

Remarks

(published property, available at design time) Flag indicating whether the generated thumbnail should be forced to the requested size even if MaintainAspect is set to True. If set to True, the thumbnail bitmap will be generated by creating a "canvas" bitmap with the requested size, and then centering the actual image inside that bitmap. Note this is a slower process.

This property is ignored if MaintainAspect is False.

Default setting is False.

See Also

Elements:

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

Topics:

Raster Images: Displaying Images