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 )
- (id)initWithDestinationImage:(LTRasterImage*)destinationImage 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.