ParagraphStyle
Overview
ParagraphStyle 是Python的Aspose.Note FOSS中的一个类.
ParagraphStyle.Default returns a ParagraphStyle instance initialized with default formatting values.
这个类提供了在Python程序中使用ParagraphStyle 对象的2种方法. 有的方法包括: Default, __init__. 在安装Python包的Aspose.Note FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: FontColor, FontName, FontSize, FontStyle, Highlight, IsBold,另外5个.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
FontStyle | int | Read | 得到字体风格. |
FontName | `` | Read | 得到字体名称. |
FontSize | `` | Read | 得到字体大小. |
FontColor | `` | Read | 得到字体颜色. |
Highlight | `` | Read | 得到了亮点. |
IsBold | `` | Read | 得到的是大胆. |
IsItalic | `` | Read | 得到的是斜写. |
IsUnderline | `` | Read | 得到了"是"的线. |
IsStrikethrough | `` | Read | 得到的是通过. |
IsSuperscript | `` | Read | 得到的是超字. |
IsSubscript | `` | Read | 得到了它的订阅. |
Methods
| Signature | Description |
|---|---|
| `init(FontName: str | None, FontSize: float |
Default() → ParagraphStyle | 返回一个以默认格式值初始化的 ParagraphStyle 实例. |