Leadtools.ImageProcessing Namespace > ResizeCommand Class > ResizeCommand Constructor : ResizeCommand Constructor(RasterImage,RasterSizeFlags) |
public ResizeCommand( RasterImage destinationImage, RasterSizeFlags flags )
'Declaration Public Function New( _ ByVal destinationImage As RasterImage, _ ByVal flags As RasterSizeFlags _ )
'Usage Dim destinationImage As RasterImage Dim flags As RasterSizeFlags Dim instance As New ResizeCommand(destinationImage, flags)
public ResizeCommand( RasterImage destinationImage, RasterSizeFlags flags )
function ResizeCommand( destinationImage , flags )
public: ResizeCommand( RasterImage^ destinationImage, RasterSizeFlags flags )
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2