LabelAutoFitStyles 枚举


指定当使用 LabelAutoFitStyle 属性时可自动对标签进行的样式更改。Specifies style changes that can automatically be made to a label when the LabelAutoFitStyle property is used.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class LabelAutoFitStyles
public enum LabelAutoFitStyles
type LabelAutoFitStyles = 
Public Enum LabelAutoFitStyles


DecreaseFont 2

标签字体可减小。Label font can be decreased.

IncreaseFont 1

标签字体可增大。Label font can be increased.

LabelsAngleStep30 8

标签可倾斜 30 度的倍数角,即:0 度、30 度、60 度和 90 度。Labels can be angled in 30 degree steps: 0, 30, 60 and 90.

LabelsAngleStep45 16

标签可倾斜 45 度的倍数角,即:0 度、45 度和 90 度。Labels can be angled in 45 degree steps: 0, 45, and 90.

LabelsAngleStep90 32

标签可倾斜 90 度的倍数角,即:0 度和 90 度。Labels can be angled in 90 degree steps: 0 and 90.

None 0

不允许标签更改。No label changes are allowed.

StaggeredLabels 4

可以将标签错开。Labels can be staggered.

WordWrap 64

标签可以自动换行。Labels can be word wrapped.


LabelAutoFitStyles枚举表示对标签的字体或方向所做的更改, 可以自动将这些更改用于使标签沿轴进行调整。The LabelAutoFitStyles enumeration represents the changes to the font or orientation of labels that can be automatically made to enable labels to fit along the axis.