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;} |
Managed Extensions for C++ | |
---|
public: __property int get_Percent();
public: __property void set_Percent(
int value
); |
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