Available in the LEADTOOLS Imaging toolkit. |
Flags Property (ILEADRasterDotRemoveDoc)
long Flags; | |
Overview |
Refer to Using Imaging Common Dialogs |
Remarks
Gets or sets the processing flags for the DotRemove dialog box.
In this case it represents the behavior of the dot removal process. Flags may be combined using a bitwise OR. Possible values are:
Value |
Meaning |
DOT_SINGLE_REGION |
For each dot found by the Dot Remove dialog, the removed dot is added to an internal single region. When the Dot Remove dialog ends, either the DocCleanBitmap property or the DocCleanRgn property will reference a region that contains all the removed dots. If DOT_LEAD_REGION is also set, the DocCleanBitmap property will be set to a bitmap that has a LEAD region that contains all the removed dots. If DOT_LEAD_REGION is not set, DocCleanRgn is set to a Windows region that contains all the removed borders. When the region (either LEAD or Windows) is no longer needed, it must be destroyed. |
DOT_LEAD_REGION |
When the Dot Remove dialog ends, the DocCleanBitmap property is updated with a bitmap that also contains a region with all the removed dots. This flag must be used in conjunction with DOT_SINGLE_REGION. To use this flag set Flags to DOT_SINGLE_REGION Or DOT_LEAD_REGION. The DocCleanBitmap member will be updated when the Dot Remove dialog ends. |
DOT_IMAGE_UNCHANGED |
The original image is unchanged. |
DOT_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. |
DOT_USE_SIZE |
Use the MinDotWidth, MinDotHeight, MaxDotWidth, MaxDotHeight properties to indicate the size of the dots to remove. If this flag is not set, default values for the four sizes will be used. These defaults are as follows: MinDotWidth = 1, MinDotHeight = 1, MaxDotWidth = 2 and MaxDotHeight = 2. |
See Also
Elements |