ResizeFlags Property (ILEADRasterDlgImg)

Visual Basic example

Visual C++ example

 

Syntax

LoadResizeConstants ResizeFlags;

Overview

Refer to Using Imaging Common Dialogs

Remarks

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

Value

Meaning

RESIZE_NORMAL

[0x0000] Resize normally.

RESIZE_FAVORBLACK

[0x0001] (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, RESIZE_RESAMPLE | RESIZE_FAVORBLACK causes color images to be resampled, but applies the favor-black option to 1-bit, black-and-white images.

RESIZE_RESAMPLE

[0x0002] Use linear interpolation and averaging to produce a higher-quality image.

RESIZE_BICUBIC

[0x0004] Use bicubic interpolation and averaging to produce a higher quality image. This is slower than RESIZE_RESAMPLE.

See Also

Elements

ShowResizeDlg method