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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public ResampleDocumentCommand(
Rectangle sourceRect,
Size destSize,
ResampleDocumentMethod documentMethod
)
Public Sub New (
sourceRect As Rectangle,
destSize As Size,
documentMethod As ResampleDocumentMethod
)
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 Exception | Condition |
---|
| Thrown if destSize width or height is less than 1. |
See Also