PicturizeResizeFlags property (LEADDlgImgEffect Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT PicturizeResizeFlags

Delphi Syntax

PicturizeResizeFlags: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the PicturizeResizeFlags in the Picturize dialog box.

This property controls the behavior of the picturize process.

Possible values are given below. These values can be combined using OR (|).

Value

Meaning

PICTURIZE_RESIZE

[$0002] Resize the images that are not the required size.

PICTURIZE_RESAMPLE

[$0004] Resample the images that are not the required size.

PICTURIZE_ONCE

[$0010] Use the image only once throughout the process.

PICTURIZE_EQUALUSAGE

[$0020] Use all images equally. That is, before an image will be used twice, all other images must be used at least once.

PICTURIZE_BESTFIT

[$0040] Images will be resized to fit the image if the bitmap width or height is not a multiple of CellWidth/CellHeight properties.

0

The picturize process will not use any of the above flags. It will: reload all the files each time you look for a rectangle to substitute and ignore all the images present in DirectoryPath if their size is not CellWidth x CellHeight.

See Also

Elements:

ShowPicturizeDlg method, CellHeight property, CellWidth property, DirectoryPath property, BitmapWidth property, BitmapHeight property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events