Leadtools.Services.ImageProcessing.DataContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Variance Property
See Also 
Leadtools.Services.ImageProcessing.DataContracts Namespace > LineRemoveRequest Class : Variance Property



Gets or sets the amount of width change that is tolerated between adjacent line slices.

Syntax

Visual Basic (Declaration) 
<DataMemberAttribute(Name="Variance", IsRequired=True)>
Public Property Variance As Integer
Visual Basic (Usage)Copy Code
Dim instance As LineRemoveRequest
Dim value As Integer
 
instance.Variance = value
 
value = instance.Variance
C# 
[DataMemberAttribute(Name="Variance", IsRequired=true)]
public int Variance {get; set;}
C++/CLI 
[DataMemberAttribute(Name="Variance", IsRequired=true)]
public:
property int Variance {
   int get();
   void set (int value);
}

Return 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 peoperty 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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features