| Visual Basic (Declaration) | |
|---|---|
Public Class CropCommand Inherits RasterCommand Implements IRasterCommand | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public class CropCommand : RasterCommand, IRasterCommand | |
| Managed Extensions for C++ | |
|---|---|
public __gc class CropCommand : public RasterCommand, IRasterCommand | |
| C++/CLI | |
|---|---|
public ref class CropCommand : public RasterCommand, IRasterCommand | |
This example trims 100 pixels off of each side of an image.
If a region is defined for the image, the region is also cropped if necessary.
For more information, refer to Processing an Image.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.CropCommand
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