dotnetCHARTING Send comments on this topic.
Alignment Property
See Also 
dotnetCHARTING Namespace > SmartLabel Class : Alignment Property



Gets or sets the primary label alignment.

Syntax

Visual Basic (Declaration) 
Public Property Alignment As LabelAlignment
Visual Basic (Usage)Copy Code
Dim instance As SmartLabel
Dim value As LabelAlignment
 
instance.Alignment = value
 
value = instance.Alignment
C# 
public LabelAlignment Alignment {get; set;}
C++/CLI 
public:
property LabelAlignment Alignment {
   LabelAlignment get();
   void set (LabelAlignment value);
}

Remarks

If the labels doesn't fit well given this alignment, alignments in the AlighmentSecondary collection are iterated (when DynamicDisplay is true) to find the first position that fits correctly.

See Also