LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)
LEAD Technologies, Inc

Variance Property (LineRemoveCommand)






Gets or sets the amount of width change that is tolerated between adjacent line slices. .NET support WinRT support Silverlight support
Syntax
public int Variance {get; set;}
'Declaration
 
Public Property Variance As Integer
'Usage
 
Dim instance As LineRemoveCommand
Dim value As Integer
 
instance.Variance = value
 
value = instance.Variance
public int Variance {get; set;}
 get_Variance();
set_Variance(value);
public:
property int Variance {
   int get();
   void set (    int value);
}

Property Value

Amount of width change that is tolerated between adjacent line slices. If LineRemoveCommandFlags.UseDpi is set in the Flags property, units are in thousandths of an inch, otherwise units are in pixels. This property is valid only if LineRemoveCommandFlags.UseVariance is set in the Flags property. For example, the following horizontal line is 30 pixels in length (X represents a pixel)


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.
Example
Refer to ImageRegion.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LineRemoveCommand Class
LineRemoveCommand Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.