Click or drag to resize

ResampleDocumentCommandVerifyProperties Method

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

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


Type: Atalasoft.ImagingAtalaImage
The image to be processed.
ArgumentException You must provide a destination size.;destSize or Cannot perform AreaAverage resize method when increasing the size of the image,\nuse BiLinear or the scale to gray default instead. or Cannot perform EnlargeFast resize method when decreasing the size of the image,\nuse BiLinear, AreaAverage, or ScaleToGray instead.

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