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




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

Syntax

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

Return Value

The image to be displayed.

Example

Remarks

Set this property to an RasterImage object and the control will display it based on the current settings of the other properties of this class.

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