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_formatILineFormat读取返回用于文本概述的 LineFormat 属性。
fill_formatIFillFormat读取返回文本 FillFormat 属性。
effect_formatIEffectFormat读取返回文本 EffectFormat 的属性。
highlight_colorIColorFormat读取返回用于突出显示文本的颜色。
underline_line_formatILineFormat读取返回用于描绘下划线的 LineFormat 属性。
underline_fill_formatIFillFormat读取返回下划线行 FillFormat 的属性。
font_boldNullableBool读写确定字体是否为粗体。
font_italicNullableBool读写确定字体是否为斜体。
kumimojiNullableBool读写确定是否应在文本中忽略东亚语言特有的竖排布局。
normalise_heightNullableBool读写确定是否应对文本的高度进行归一化。
proof_disabledNullableBool读写确定文本是否不应进行校对。
font_underlineTextUnderlineType读写返回或设置文本的下划线类型。
text_cap_typeTextCapType读写返回或设置文本的大小写类型。
strikethrough_typeTextStrikethroughType读写返回或设置文本的 strikethrough 类型。
is_hard_underline_lineNullableBool读写确定 underline 样式是否拥有自己的 LineFormat 属性,或从文本的 LineFormat 属性继承。
is_hard_underline_fillNullableBool读写确定 underline 样式是否拥有自己的 FillFormat 属性,或从文本的 FillFormat 属性继承。
font_heightfloat读写返回或设置某段文字的字体高度。
escapementfloat读写返回或设置上标或下标的文本。
kerning_minimal_sizefloat读写返回或设置应开启字距调整的最小字体大小。
spacingfloat读写返回或设置字符间距增量。
latin_fontIFontData读写返回或设置拉丁字体信息。
east_asian_fontIFontData读写返回或设置东亚字体信息。
complex_script_fontIFontData读写返回或设置复杂脚本字体信息。
symbol_fontIFontData读写返回或设置符号字体信息。
language_idstr读写返回或设置校对语言的 Id。
alternative_language_idstr读写返回或设置备用语言的 Id。
spell_checkbool读写获取或设置一个值,指示文本部分是否启用了拼写检查。
as_i_presentation_componentIPresentationComponent读取允许获取基础 IPresentationComponent 接口。
slideIBaseSlide读取获取幻灯片。
presentationIPresentation读取获取演示。

方法

签名描述
__init__()

另请参阅

 中文