Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also