Leadtools.Windows.Controls.Pro Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.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;}
C++/CLI 
public:
property RasterImage Image {
   RasterImage get();
   void set (RasterImage value);
}

Return Value

The image to be displayed.

Example

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