←Select platform

Percent Property

Summary
Gets or sets the percent of the image dimension in which the border will be found.
Syntax
C#
VB
Objective-C
C++
Java
public int Percent { get; set; } 
Public Property Percent As Integer 
@property (nonatomic, assign) NSInteger percent 
public int getPercent() 
public void setPercent(int value) 
public: 
property int Percent { 
   int get(); 
   void set (    int ); 
} 

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

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.