Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools.ImageProcessing Namespace > ResizeCommand Class > ResizeCommand Constructor : ResizeCommand Constructor(RasterImage,RasterSizeFlags) |
public ResizeCommand( RasterImage destinationImage, RasterSizeFlags flags )
'Declaration
Public Function New( _ ByVal destinationImage As RasterImage, _ ByVal flags As RasterSizeFlags _ )
'Usage
Dim destinationImage As RasterImage Dim flags As RasterSizeFlags Dim instance As New ResizeCommand(destinationImage, flags)
public ResizeCommand( RasterImage destinationImage, RasterSizeFlags flags )
- (instancetype)initWithDestinationImage:(LTRasterImage *)dstImage flags:(LTRasterSizeFlags)flags
public ResizeCommand(
RasterImage destinationImage,
RasterSizeFlags flags
)
function ResizeCommand( destinationImage , flags )
public: ResizeCommand( RasterImage^ destinationImage, RasterSizeFlags flags )
The ResizeCommand command works by resizing the image data passed to the Run method into the image passed to destinationImage.
The destination image must be initialized with the correct RasterImage.Width and RasterImage.Height of the new, resized image.