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.
For an example, refer to ResizeCommand.
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.
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