ResizeFlags property (LEADDlgImage Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT ResizeFlags

Delphi Syntax

ResizeFlags: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the resize method in the Resize dialog box. Possible values are:

Value

Meaning

SIZE_NORMAL

[$0000] Resize normally.

SIZE_FAVORBLACK

[$0001] (Document/Medical only) Preserve black objects when making the image smaller. This option affects only 1-bit, black-and-white images, where it prevents the disappearance of thin lines. You can use a bitwise OR ( | ) to combine this flag with another one. For example, SIZE_RESAMPLE | SIZE_FAVORBLACK causes color images to be resampled, but applies the favor-black option to 1-bit, black-and-white images.

SIZE_RESAMPLE

[$0002] Use linear interpolation and averaging to produce a higher-quality image.

SIZE_BICUBIC

[$0004] Use bicubic interpolation and averaging to produce a higher quality image. This is slower than SIZE_RESAMPLE.

See Also

Elements:

ShowResizeDlg method

Topics:

Imaging Common Dialogs: Properties, Methods, and Events