This method corrects a warped raster image.

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

Parameters

None

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The Affine method corrects a warped raster image. To execute the Affine method, set the image handle of the image in the Image property or the Layer(LayerNumber).Image property. The area on the image to be processed is determined by the coordinates for 4 points which are set in the Point  property. 

The Affine method supports 1, 4, 8, 16, 24, and 32 bit color images.

If the Affine method is successful and the DestinationAsImageKitImage property is True, the resulting image will be set in the Image property or in the Layer(LayerNumber).Image property, according to the value set in the LayerNumber property.

If the Affine method is successful and the DestinationAsImageKitImage property is False, the resulting image will be set in the DestinationImage property.

See Also

ImageKit.Effect Members | Newtone.ImageKit.Win.ImageKit

 

The ImageKit.NET3 is created by Newtone Corporation