NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Label.Image

Gets or sets the image that is displayed on a Label.

[Visual Basic]
Public Property Image As Image
[C#]
public Image Image {get; set;}
[C++]
public: __property Image* get_Image();
public: __property void set_Image(Image*);
[JScript]
public function get Image() : Image;
public function set Image(Image);

Property Value

The Image displayed on the Label. The default is a null reference (in Visual Basic Nothing).

Remarks

When the Image property is set, the ImageList property is set to a null reference (Nothing) and the ImageIndex property is set to-1.

See Also

Label Class | Label Members | System.WinForms Namespace | Image | ImageAlign | ImageList | ImageIndex