Available in the LEADTOOLS Imaging toolkit. |
Flags Property (IILEADRasterInvertTextDoc)
long Flags; | |
Overview |
Refer to Using Imaging Common Dialogs |
Remarks
Gets or sets the processing flags for the InvertedText dialog box.
The Flags property represents the behavior of the inverted text process. Flags may be combined using a bitwise OR. Possible values are:
Value |
Meaning |
INVERTEDTEXT_SINGLE_REGION |
For each inverted text segment found by the Inverted Text dialog, the inverted text is added to an internal single region. When the Inverted Text dialog ends, either the DocCleanBitmap property or the DocCleanRgn property will reference a region that contains all the corrected inverted text. If INVERTEDTEXT_LEAD_REGION is also set, the DocCleanBitmap property will be updated with a bitmap that has a LEAD region that contains all the corrected inverted text. If INVERTEDTEXT_LEAD_REGION is not set, DocCleanRgn is updated with a Windows region that contains all the corrected inverted text. When the region (either LEAD or Windows) is no longer needed, it must be destroyed. |
INVERTEDTEXT_LEAD_REGION |
When the Inverted Text dialog ends, the DocCleanBitmap member is updated with a bitmap that also contains a region with all the corrected inverted text. This flag must be used in conjunction with INVERTEDTEXT_SINGLE_REGION. To use this flag set Flags to INVERTEDTEXT_SINGLE_REGION Or INVERTEDTEXT_LEAD_REGION. The DocCleanBitmap property will be updated when the Inverted Text dialog ends. |
INVERTEDTEXT_IMAGE_UNCHANGED |
The original image is unchanged. |
INVERTEDTEXT_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. |
See Also
Elements |