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
Percent Property
See Also 
Leadtools.Services.ImageProcessing.DataContracts Namespace > BorderRemoveRequest Class : Percent Property



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

Syntax

Visual Basic (Declaration) 
<DataMemberAttribute(Name="Percent", IsRequired=True)>
Public Property Percent As Integer
Visual Basic (Usage)Copy Code
Dim instance As BorderRemoveRequest
Dim value As Integer
 
instance.Percent = value
 
value = instance.Percent
C# 
[DataMemberAttribute(Name="Percent", IsRequired=true)]
public int Percent {get; set;}
C++/CLI 
[DataMemberAttribute(Name="Percent", IsRequired=true)]
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.

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