Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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
)
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also