Leadtools.Windows.Controls.Pro Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
Image Property
See Also 
Leadtools.Windows.Controls Namespace > RasterImageViewer Class : Image Property




Gets or sets the image currently assigned for display by the control.

Syntax

Visual Basic (Declaration) 
Public Property Image As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
Dim value As RasterImage
 
instance.Image = value
 
value = instance.Image
C# 
public RasterImage Image {get; set;}
Managed Extensions for C++ 
public: __property RasterImage get_Image();
public: __property void set_Image( 
   RasterImage value
);
C++/CLI 
public:
property RasterImage Image {
   RasterImage get();
   void set (RasterImage value);
}

Return Value

The image to be displayed.

Example

For XAML example, refer to RasterImageViewer.

For C#/VB examples, refer to RasterImageViewer.

Remarks

Set this property to a RasterImage object and the control will display it based on the current settings of the other properties of this class. When setting or getting this property the object will be converted to or from an ImageSource, which is available through the Source property.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

Leadtools.Windows.Controls.Pro.dxp requires a WFP Module license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features and Unlocking Special LEAD Features.