Visual Basic (Declaration) | |
---|---|
Public Class AutoCropRectangleCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class AutoCropRectangleCommand : RasterCommand, IRasterCommand |
Managed Extensions for C++ | |
---|---|
public __gc class AutoCropRectangleCommand : public RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class AutoCropRectangleCommand : public RasterCommand, IRasterCommand |
Visual Basic | Copy Code |
---|---|
ImageProcessing.Core.AutoCropRectangleCommand |
C# | Copy Code |
---|---|
ImageProcessing.Core.AutoCropRectangleCommand |
Use this command in conjunction with CropCommand instead of AutoCropCommand when you want to modify the trim rectangle. For example, you could let the user preview the rectangle, or you could add a margin. This command uses image coordinates to specify the area to be trimmed. Therefore, you must account for the view perspective of the image. For information about image coordinates, refer to RasterViewPerspective. This command 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 command does not support signed data images. This command does not support 32-bit grayscale images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Core.AutoCropRectangleCommand
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family