ClearImage 8 Help
Trim Method
See Also  Send Feedback
Inlite.ClearImage Namespace > CiTools Class : Trim Method






Pixels
Number of pixels to trim from each side
Direction
Trim image

Syntax

Visual Basic (Declaration) 
Public Function Trim( _
   ByVal Pixels As Integer, _
   ByVal Direction As EMorphDirections _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As CiTools
Dim Pixels As Integer
Dim Direction As EMorphDirections
Dim value As Integer
 
value = instance.Trim(Pixels, Direction)
C# 
public int Trim( 
   int Pixels,
   EMorphDirections Direction
)
Delphi 
public function Trim( 
    Pixels: Integer;
    Direction: EMorphDirections
): Integer; 
JScript 
public function Trim( 
   Pixels : int,
   Direction : EMorphDirections
) : int;
Managed Extensions for C++ 
public: int Trim( 
   int Pixels,
   EMorphDirections Direction
) 
C++/CLI 
public:
int Trim( 
   int Pixels,
   EMorphDirections Direction
) 

Parameters

Pixels
Number of pixels to trim from each side
Direction

Remarks

This method generates an error if Image is not bi-tonal.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2007-2013. Inlite Research, Inc. All Rights Reserved.