LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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. Supported in Silverlight, Windows Phone 7

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 New 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also