LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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. Supported in Silverlight, Windows Phone 7

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);
}

Property 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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also