ClearImage .NET API
Trim Method (CiTools)





Inlite.ClearImage Namespace > CiTools Class : Trim Method
Number of pixels to trim from each direction
Trim image
Syntax
'Declaration
 
Public Function Trim( _
   ByVal Pixels As System.Integer, _
   ByVal Direction As EMorphDirections _
) As System.Integer
'Usage
 
Dim instance As CiTools
Dim Pixels As System.Integer
Dim Direction As EMorphDirections
Dim value As System.Integer
 
value = instance.Trim(Pixels, Direction)
public System.int Trim( 
   System.int Pixels,
   EMorphDirections Direction
)
public function Trim( 
    Pixels: System.Integer;
    Direction: EMorphDirections
): System.Integer; 
public function Trim( 
   Pixels : System.int,
   Direction : EMorphDirections
) : System.int;
public:
System.int Trim( 
   System.int Pixels,
   EMorphDirections Direction
) 

Parameters

Pixels
Number of pixels to trim from each direction
Direction
Remarks
Method requires bi-tonal image (object.Image.BitsPerPixel = 1).
See Also

Reference

CiTools Class
CiTools Members
Trim Method
Fatten Method