Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ResizeCommand Constructor(RasterImage,RasterSizeFlags)
See Also 
Leadtools.ImageProcessing Namespace > ResizeCommand Class > ResizeCommand Constructor : ResizeCommand Constructor(RasterImage,RasterSizeFlags)



destinationImage
The destination image for the resize.
flags
Flags that determine resizing options.
Initializes a new instance of the ResizeCommand class with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal destinationImage As RasterImage, _
   ByVal flags As RasterSizeFlags _
)
Visual Basic (Usage)Copy Code
Dim destinationImage As RasterImage
Dim flags As RasterSizeFlags
 
Dim instance As ResizeCommand(destinationImage, flags)
C# 
public ResizeCommand( 
   RasterImage destinationImage,
   RasterSizeFlags flags
)
C++/CLI 
public:
ResizeCommand( 
   RasterImage^ destinationImage,
   RasterSizeFlags flags
)

Parameters

destinationImage
The destination image for the resize.
flags
Flags that determine resizing options.

Example

For an example, refer to ResizeCommand.

Remarks

The ResizeCommand command works by resizing the image data passed to the RasterCommand.Run method into the image passed to destinationImage.

The destination image must be intialized with the correct RasterImage.Width and RasterImage.Height of the new, resized image.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also