Click or drag to resize

SpinTransformPerformActualCommand Method

PerformActualCommand does the actual work of the image processing command.

Namespace:  Atalasoft.Imaging.ImageProcessing.Transforms
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected override AtalaImage PerformActualCommand(
	AtalaImage source,
	AtalaImage dest,
	Rectangle imageArea,
	ref ImageResults results
)

Parameters

source
Type: Atalasoft.ImagingAtalaImage
The source image for processing. This may be different from the original image.
dest
Type: Atalasoft.ImagingAtalaImage
The destination image. Dest will be null when InPlaceProcessing is true or when ConstructFinalImage returns null.
imageArea
Type: System.DrawingRectangle
An area of the source image to process. When the destination image is non-null, it will always be the same size as imageArea. ImageArea only differs in size from the source image when the command is a subclass of ImageRegionCommand and when there is a region of interest.
results
Type: Atalasoft.Imaging.ImageProcessingImageResults
The results object that will be used for this command.

Return Value

Type: AtalaImage
In most cases, PerformActualCommand should return null. When PerformActualCommand returns a non-null image, it is indicating that it has allocated a new image to use for the final image. This must be true if ConstructFinalImage returned null.
See Also