LegendCell.Alignment 属性

定义

获取或设置图例单元内容的对齐方式。

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

属性值

ContentAlignment

一个 ContentAlignment 值,该值表示图例单元格内容的对齐方式。 默认值是 MiddleCenter

注解

Alignment属性用于对齐图例单元格中的文本、序列符号或图像。

适用于