Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
AutoTrimCommand Class
See Also  Members  
Leadtools.ImageProcessing Namespace : AutoTrimCommand Class



Trims the current bitmap, removing blank space around the edges.

Syntax

Visual Basic (Declaration) 
Public Class AutoTrimCommand 
   Inherits RasterCommand
   Implements IRasterCommand 
Visual Basic (Usage)Copy Code
Dim instance As AutoTrimCommand
C# 
public class AutoTrimCommand : RasterCommand, IRasterCommand  
C++/CLI 
public ref class AutoTrimCommand : public RasterCommand, IRasterCommand  

Remarks

  • Generally, this function is used for automatically trimming blank space from the edges of scanned documents.
  • Nevertheless, because this function uses changes in intensity to detect blank space, it can trim edges of any color or intensity.
  • If a region is defined for the bitmap, the region is also trimmed if necessary.
  • This function supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.
  • This function does not support signed data images.

Inheritance Hierarchy

System.Object
   Leadtools.ImageProcessing.RasterCommand
      Leadtools.ImageProcessing.AutoTrimCommand

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also