LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Image Property
See Also 
Leadtools.WinForms Namespace > RasterPictureBox Class : Image Property



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

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Appearance")>
<BrowsableAttribute(True)>
Public Property Image As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As RasterPictureBox
Dim value As RasterImage
 
instance.Image = value
 
value = instance.Image
C# 
[CategoryAttribute("Appearance")]
[BrowsableAttribute(true)]
public RasterImage Image {get; set;}
C++/CLI 
[CategoryAttribute("Appearance")]
[BrowsableAttribute(true)]
public:
property RasterImage^ Image {
   RasterImage^ get();
   void set (    RasterImage^ value);
}

Property Value

The image to be displayed.

Example

Refer to RasterPictureBox.

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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also