Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Percent Property
See Also 
Leadtools.ImageProcessing.Core Namespace > BorderRemoveCommand Class : Percent Property



Gets or sets the percent of the image dimension in which the border will be found.

Syntax

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

Return Value

Percent of the image dimension in which the border will be found. For most images, use 20. For example, if an image is 200 pixels wide, Percent is set to 20 and Border is set to BorderRemoveBorderFlags.Left, then the left border will be found in the area between the left edge of the image and a line 40 pixels from the left edge. If the border is closer to the edge of the image, use a smaller value. If the border is farther from the edge, use a larger value.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also