This method copies that portion of a raster image that is specified by the selected rectangle.

[Visual Basic]
Public Function CutRectImage As Boolean
[C#]
public bool CutRectImage();

Parameters

None

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The CutRectImage method allows you to copy a portion of a raster image without using a mask image. (If you wish to use a mask image, please refer to the SelectImage method).

To execute the CutRectImage method, set the image handle of the image in the SourceImage property and specify the area to be copied by setting the Rect property. The CutRectImage method supports 1, 4, 8, 16, 24, and 32 bit images.

If successful the resulting raster image data is set in the DestinationImage property.

See Also

Effect Class | Effect Members

The ImageKit.NET3 is created by Newtone Corporation