←Select platform

ResizeCommand Constructor(RasterImage,RasterSizeFlags)

Summary

Initializes a new instance of the ResizeCommand class with explicit parameters.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
Public Function New( _ 
   ByVal destinationImage As Leadtools.RasterImage, _ 
   ByVal flags As Leadtools.RasterSizeFlags _ 
) 
- (instancetype)initWithDestinationImage:(LTRasterImage *)dstImage  
                                   flags:(LTRasterSizeFlags)flags 
             
public ResizeCommand( 
   RasterImage destinationImage,  
   RasterSizeFlags flags 
) 
             
function ResizeCommand(  
   destinationImage , 
   flags  
) 

Parameters

destinationImage
The destination image for the resize.

flags
Flags that determine resizing options.

Remarks

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.

Example

For an example, refer to ResizeCommand.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize