Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
DestinationImage Property
See Also 
Leadtools.ImageProcessing Namespace > ResizeCommand Class : DestinationImage Property




Gets or sets the destination image for the resize.

Syntax

Visual Basic (Declaration) 
Public Property DestinationImage As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As ResizeCommand
Dim value As RasterImage
 
instance.DestinationImage = value
 
value = instance.DestinationImage
C# 
public RasterImage DestinationImage {get; set;}
Managed Extensions for C++ 
public: __property RasterImage* get_DestinationImage();
public: __property void set_DestinationImage( 
   RasterImage* value
);
C++/CLI 
public:
property RasterImage^ DestinationImage {
   RasterImage^ get();
   void set (RasterImage^ value);
}

Return Value

The destination image for the resize.

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 property.

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