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.ImageAlign

Gets or sets the alignment of the image on the Label.

[Visual Basic]
Public Property ImageAlign As ContentAlignment
[C#]
public ContentAlignment ImageAlign {get; set;}
[C++]
public: __property ContentAlignment get_ImageAlign();
public: __property void set_ImageAlign(ContentAlignment);
[JScript]
public function get ImageAlign() : ContentAlignment;
public function set ImageAlign(ContentAlignment);

Property Value

One of the ContentAlignment values. The default is MiddleCenter.

Exceptions

Exception Type Condition
InvalidEnumArgumentException The value assigned is not one of the ContentAlignment values.

See Also

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