Available in the LEADTOOLS Imaging toolkit. |
Variance Property (ILEADRasterLineRemoveDoc)
long Variance; | |
Overview |
Refer to Using Imaging Common Dialogs |
Remarks
Gets or sets the amount of variance in the LineRemove dialog box.
The Variance property is associated with the following dialog boxes
1. |
||
|
In this case it represents the amount of width change that is tolerated between adjacent line slices. If LINE_USE_DPI is set the Flags property, units are in thousandths of an inch, otherwise units are in pixels. This property is valid only if LINE_USE_VARIANCE is set in Flags. For example, the following horizontal line is 30 pixels in length (X represents a pixel) |
|
|
|
XXXXXXXXXX |
|
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
|
|
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
|
|
|
XXXXXXXXXX |
|
|
XXXXXXXXXX |
|
If Variance is 2 pixels (i.e. tolerate width changes of 2 pixels or less), the first 10 columns and the last 10 columns of the line will be removed. The middle 10 columns will be unchanged. This helps preserve characters that intersect a line that is being removed. |
See Also
Elements |