Title.Alignment Title.Alignment Title.Alignment Title.Alignment Property


Gets or sets the alignment of the title.

 property System::Drawing::ContentAlignment Alignment { System::Drawing::ContentAlignment get(); void set(System::Drawing::ContentAlignment value); };
public System.Drawing.ContentAlignment Alignment { get; set; }
member this.Alignment : System.Drawing.ContentAlignment with get, set
Public Property Alignment As ContentAlignment

Property Value

A ContentAlignment enumeration value that represents the title alignment within the text drawing area. The default value is MiddleCenter.


The Alignment property has no effect on alignment if the Position property is not set to Auto.

Applies to