←Select platform

Percent Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int Percent { get; set; } 
Public Property Percent As Integer 
public int Percent {get; set;} 
@property (nonatomic, assign) NSInteger percent 
public int getPercent() 
public void setPercent(int value) 
             
 <br/>get_Percent();<br/>set_Percent(value);<br/>Object.defineProperty('Percent');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly