Visual Basic (Declaration) | |
---|---|
Public Class CopyRectangleCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class CopyRectangleCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class CopyRectangleCommand : public RasterCommand, IRasterCommand |
After you call IRasterCommand.Run on a certain image, a new RasterImage will be created from the desired rectangle and will be put in the DestinationImage property.
This command duplicates the original image's palette, if one is required in the new image.
This command uses image coordinates to specify the area to be copied. Therefore, you must account for the RasterImage.ViewPerspective of the image. For information about image coordinates, refer to Accounting for View Perspective.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.CopyRectangleCommand
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6