LEADTOOLS Workflow Image Processing (Leadtools.Workflow.ImageProcessing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
MaximumWallPercent Property
See Also 
Leadtools.Workflow.ImageProcessing Namespace > LineRemoveActivity Class : MaximumWallPercent Property



The MaximumWallPercent Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the maximum number of wall slices (expressed as a percent of the total length of the line) that are allowed.

Syntax

Visual Basic (Declaration) 
Public Property MaximumWallPercent As Integer
Visual Basic (Usage)Copy Code
Dim instance As LineRemoveActivity
Dim value As Integer
 
instance.MaximumWallPercent = value
 
value = instance.MaximumWallPercent
C# 
public int MaximumWallPercent {get; set;}
C++/CLI 
public:
property int MaximumWallPercent {
   int get();
   void set (    int value);
}

Property Value

The maximum number of wall slices (expressed as a percent of the total length of the line) that are allowed. A line consists of wall slices and non-wall slices (see description of Wall). This property specifies the maximum number of wall slices (expressed as a percent of the total length of the line) that are allowed. Lines that have a wall percent that is larger than maximumWallPercent will not be removed. For example, consider the line below that is 10 pixels in length, and 1 pixel in height in some places, and five pixels in height in other places.


Setting MinimumLineLength to 10 pixels and Wall to four pixels will identify the line below as a candidate for removal. Note that the wall percent for this line is 60 (because six of ten line slices are walls). If MaximumWallPercent is 80 then the line will be removed (actually, the pixels marked as red will be removed). If MaximumWallPercent is 30, then the line will not be removed.


Requirements

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

See Also

Leadtools.Workflow.ImageProcessing requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features