TextFrameFormat
内容
[
隐藏
]TextFrameFormat 类
Contains the TextFrame’s formatTextFrameFormatting properties.
public sealed class TextFrameFormat : PVIObject, IChartTextBlockFormat, ITextFrameFormat
构造函数
| 名称 | 描述 |
|---|---|
| TextFrameFormat() | 初始化 TextFrameFormat 类的新实例。 |
属性
| 名称 | 描述 |
|---|---|
| AnchoringType { get; set; } | 返回或设置 TextFrame 中的垂直锚文本。读/写 TextAnchorType。 |
| AsIPresentationComponent { get; } | 允许获取基底 IPresentationComponent 接口。只读 IPresentationComponent。 |
| AutofitType { get; set; } | 返回或设置文本的自动适配模式。读/写 TextAutofitType。 |
| CenterText { get; set; } | 如果 NullableBool.True,则文本应在框中水平居中。读/写 NullableBool。 |
| ColumnCount { get; set; } | 返回或设置文本区域中的列数。该值必须为正数。否则,值将被设为 0。值 0 表示未定义值。读/写 Int32。 |
| ColumnSpacing { get; set; } | 返回或设置文本区域中列之间的间距(以点为单位)。仅在存在超过 1 列时适用。该值必须为正数。否则,值将被设为 0。读/写 Double。 |
| KeepTextFlat { get; set; } | 获取或设置即使应用了 3-D 旋转效果,文本仍保持平面。读/写 Boolean。 |
| MarginBottom { get; set; } | 返回或设置 TextFrame 的底部边距(点)。读/写 Double。 |
| MarginLeft { get; set; } | 返回或设置 TextFrame 的左侧边距(点)。读/写 Double。 |
| MarginRight { get; set; } | 返回或设置 TextFrame 的右侧边距(点)。读/写 Double。 |
| MarginTop { get; set; } | 返回或设置 TextFrame 的顶部边距(点)。读/写 Double。 |
| RotationAngle { get; set; } | 指定应用于边界框内文本的自定义旋转。如果未指定,则使用伴随形状的旋转。如果指定,则该旋转独立于形状应用。即形状可以有旋转,同时文本本身也可以有旋转。该属性与属性 TextVerticalType 中的预定义垂直类型共同决定可视文本旋转的最终值。读/写 Single。 |
| TextVerticalType { get; set; } | 确定文本方向。该属性与属性 RotationAngle 中的自定义角度共同决定可视文本旋转的最终值。读/写 TextVerticalType。 |
| ThreeDFormat { get; } | 返回表示文本 3D 效果属性的 ThreeDFormat 对象。只读 IThreeDFormat。 |
| Transform { get; set; } | 获取或设置文本换行形状。读/写 TextShapeType。 |
| WrapText { get; set; } | 如果文本在 TextFrame 的边距处换行,则为 True。读/写 NullableBool。 |
方法
| 名称 | 描述 |
|---|---|
| override Equals(object) | 与指定的对象进行比较。 |
| GetEffective() | 获取在应用继承后的有效文本框格式化数据。 |
| override GetHashCode() | 返回哈希码。 |