Click or drag to resize

ResampleDocumentCommand Constructor (Rectangle, Size, ResampleDocumentMethod)

Creates a new instance of ResampleDocumentCommand specifying sourceRect, destSize and documentMethod.

Namespace:  Atalasoft.Imaging.ImageProcessing.Document
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public ResampleDocumentCommand(
	Rectangle sourceRect,
	Size destSize,
	ResampleDocumentMethod documentMethod
)

Parameters

sourceRect
Type: System.DrawingRectangle
The rectangular region of the source image which will be resized.
destSize
Type: System.DrawingSize
The final size of the image.
documentMethod
Type: Atalasoft.Imaging.ImageProcessing.DocumentResampleDocumentMethod
The 1-bit specialized resampling method to apply.
Exceptions
ExceptionCondition
Thrown if destSize width or height is less than 1.
See Also