PortionFormat
PortionFormat
概述
PortionFormat 是 Aspose.Slides FOSS 中用于 Python 的类。继承自:BasePortionFormat、IPortionFormat。
此类包含文本部分的格式化属性。
此类提供 1 个方法,用于在 Python 程序中处理 PortionFormat 对象。可用的方法包括:__init__。在安装 Aspose.Slides FOSS 用于 Python 的软件包后,所有公共成员对任何 Python 应用程序均可访问。属性:alternative_language_id、as_i_presentation_component、complex_script_font、east_asian_font、effect_format、escapement,以及另外 24 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
line_format | ILineFormat | 读取 | 返回用于文本概述的 LineFormat 属性。 |
fill_format | IFillFormat | 读取 | 返回文本 FillFormat 属性。 |
effect_format | IEffectFormat | 读取 | 返回文本 EffectFormat 的属性。 |
highlight_color | IColorFormat | 读取 | 返回用于突出显示文本的颜色。 |
underline_line_format | ILineFormat | 读取 | 返回用于描绘下划线的 LineFormat 属性。 |
underline_fill_format | IFillFormat | 读取 | 返回下划线行 FillFormat 的属性。 |
font_bold | NullableBool | 读写 | 确定字体是否为粗体。 |
font_italic | NullableBool | 读写 | 确定字体是否为斜体。 |
kumimoji | NullableBool | 读写 | 确定是否应在文本中忽略东亚语言特有的竖排布局。 |
normalise_height | NullableBool | 读写 | 确定是否应对文本的高度进行归一化。 |
proof_disabled | NullableBool | 读写 | 确定文本是否不应进行校对。 |
font_underline | TextUnderlineType | 读写 | 返回或设置文本的下划线类型。 |
text_cap_type | TextCapType | 读写 | 返回或设置文本的大小写类型。 |
strikethrough_type | TextStrikethroughType | 读写 | 返回或设置文本的 strikethrough 类型。 |
is_hard_underline_line | NullableBool | 读写 | 确定 underline 样式是否拥有自己的 LineFormat 属性,或从文本的 LineFormat 属性继承。 |
is_hard_underline_fill | NullableBool | 读写 | 确定 underline 样式是否拥有自己的 FillFormat 属性,或从文本的 FillFormat 属性继承。 |
font_height | float | 读写 | 返回或设置某段文字的字体高度。 |
escapement | float | 读写 | 返回或设置上标或下标的文本。 |
kerning_minimal_size | float | 读写 | 返回或设置应开启字距调整的最小字体大小。 |
spacing | float | 读写 | 返回或设置字符间距增量。 |
latin_font | IFontData | 读写 | 返回或设置拉丁字体信息。 |
east_asian_font | IFontData | 读写 | 返回或设置东亚字体信息。 |
complex_script_font | IFontData | 读写 | 返回或设置复杂脚本字体信息。 |
symbol_font | IFontData | 读写 | 返回或设置符号字体信息。 |
language_id | str | 读写 | 返回或设置校对语言的 Id。 |
alternative_language_id | str | 读写 | 返回或设置备用语言的 Id。 |
spell_check | bool | 读写 | 获取或设置一个值,指示文本部分是否启用了拼写检查。 |
as_i_presentation_component | IPresentationComponent | 读取 | 允许获取基础 IPresentationComponent 接口。 |
slide | IBaseSlide | 读取 | 获取幻灯片。 |
presentation | IPresentation | 读取 | 获取演示。 |
方法
| 签名 | 描述 |
|---|---|
__init__() |