TextFrameFormat
内容
[
隐藏
]TextFrameFormat class
包含 TextFrame 的 formatTextFrameFormatting 属性。
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 表示未定义值。可读写 Int32。 |
ColumnSpacing { get; set; } | 返回或设置文本区域中文本列之间的间距(以点为单位)。这仅应适用于存在多个列的情况。此值必须是正数。否则,值将被设置为零。可读写 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; } | True 如果文本在 TextFrame 的边距处换行。可读写 NullableBool 。 |
方法
名称 | 描述 |
---|---|
override Equals(object) | 与指定对象进行比较。 |
GetEffective() | 获取应用继承的有效文本框格式数据。 |
override GetHashCode() | 返回哈希代码。 |
另请参见
- class PVIObject
- interface IChartTextBlockFormat
- interface ITextFrameFormat
- namespace Aspose.Slides
- assembly Aspose.Slides