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



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

Syntax

Visual Basic (Declaration) 
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# 
public virtual RasterImage Image {get; set;}
C++/CLI 
public:
virtual property RasterImage^ Image {
   RasterImage^ get();
   void set (RasterImage^ value);
}

Return Value

The RasterImage 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.

Setting this property to null (Nothing in Visual Basic), removes the image.

It is your responsibility to call dispose the RasterImage assigned to this RasterImageViewer

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also