LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)
LEAD Technologies, Inc

Percent Property






Gets or sets the percent of the image dimension in which the border will be found. .NET support WinRT support Silverlight support
Syntax
public int Percent {get; set;}
'Declaration
 
Public Property Percent As Integer
'Usage
 
Dim instance As BorderRemoveCommand
Dim value As Integer
 
instance.Percent = value
 
value = instance.Percent
public int Percent {get; set;}
 get_Percent();
set_Percent(value);
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
Refer to BorderRemoveCommand.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BorderRemoveCommand Class
BorderRemoveCommand Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.