Flags Property (ILEADRasterLineRemoveDoc)

Visual Basic example

Visual C++ example

 

Syntax

long Flags;

Overview

Refer to Using Imaging Common Dialogs

Remarks

Gets or sets the processing flags for the LineRemove dialog box.

The Flags property represents the behavior of the line removal process. Flags may be combined using a bitwise OR. Possible values are:

Value

Meaning

LINE_SINGLE_REGION

For each line found by the LineRemove dialog, the removed line is added to an internal single region. If the When the Line Remove dialog ends, either the DocCleanBitmap property or the DocCleanRgn property will reference a region that contains all the removed lines. If LINE_LEAD_REGION is also set, the DocCleanBitmap property will be updated with a bitmap that has a LEAD region that contains all the removed lines. If LINE_LEAD_REGION is not set, the DocCleanRgn property is updated with a Windows region that contains all the removed lines. When the region (either LEAD or Windows) is no longer needed, it must be destroyed.

LINE_LEAD_REGION

When the Line Remove dialog ends, the DocCleanBitmap property is updated with a bitmap that also contains a region with all the removed lines. This flag must be used in conjunction with LINE_SINGLE_REGION. To use this flag set Flags to LINE_SINGLE_REGION Or LINE_LEAD_REGION. The DocCleanBitmap property will be updated when the Line Remove dialog ends.

LINE_IMAGE_UNCHANGED

The original image is unchanged.

LINE_USE_DPI

The unit of measure for all parameters of this method is thousandths of an inch. Use the image's DPI to convert to pixels. This allows the processing of many images with different DPI. If this flag is not set, the unit of measure is pixels.

LINE_REMOVE_ENTIRE

Remove the entire line, even if the line passes through a character or a wall.

LINE_USE_GAP

Consider "gaps" in lines when performing line removal. If this flag is passed, the GapLength property is used. If this flag is not passed, the GapLength property is ignored.

LINE_USE_VARIANCE

Consider line variance when performing line removal. If this flag is passed, the Variance property is used. If this flag is not passed, the property is ignored.

See Also

Elements

ShowLineRemoveDlg method