Click or drag to resize

AdjustChannelCommandVerifyProperties Method

Verify the integrity of properties in the command before processing an image.

Namespace:  Atalasoft.Imaging.ImageProcessing.Channels
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected override void VerifyProperties(
	AtalaImage image
)

Parameters

image
Type: Atalasoft.ImagingAtalaImage
The image to be processed.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Channel1;When using literal values, the channel must be a value from -255 to 255. or Channel2;When using literal values, the channel must be a value from -255 to 255. or Channel3;When using literal values, the channel must be a value from -255 to 255. or Channel4;When using literal values, the channel must be a value from -255 to 255.
Remarks

This method does not check the integrity of the source image itself. That is already done by the time VerifyProperties is called.

Errors should be indicated by throwing an appropriate exception.

See Also