ParagraphFormat

ParagraphFormat

概述

ParagraphFormat 是 Aspose.Slides FOSS 中用于 Python 的一个类。继承自:PVIObject、ISlideComponent、IPresentationComponent。

此类包含段落格式属性。

此类提供 1 个方法,用于在 Python 程序中处理 ParagraphFormat 对象。可用的方法包括:__init__。在安装了 Aspose.Slides FOSS for Python 包之后,所有公共成员对任何 Python 应用程序均可访问。属性:alignment、as_i_presentation_component、bullet、default_portion_format、default_tab_size、depth,以及另外 13 项。

属性

名称类型访问描述
alignmentTextAlignment读写返回或设置段落中没有继承的文本对齐方式。
space_withinfloat读写返回或设置段落基线之间的间距。
space_beforefloat读写返回或设置段落首行之前的空间量(不继承)。
space_afterfloat读写返回或设置段落末行之后的空间量(不继承)。
east_asian_line_breakNullableBool读写确定段落是否使用东亚换行符。
right_to_leftNullableBool读写确定段落是否使用从右到左的书写。
latin_line_breakNullableBool读写确定段落是否使用拉丁换行。
hanging_punctuationNullableBool读写确定段落是否使用悬挂标点。
margin_leftfloat读写返回或设置段落中没有继承的左边距。
margin_rightfloat读写返回或设置段落中没有继承的右边距。
indentfloat读写返回或设置段落的 First Line Indent/Hanging Indent,且不继承。
default_tab_sizefloat读写返回或设置默认 tabulation 大小,且不继承。
font_alignmentFontAlignment读写返回或设置段落中的 font alignment,且不继承。
bulletIBulletFormat读取获取项目符号。
depthint读写获取或设置深度。
default_portion_formatIPortionFormat读取获取默认的部分格式。
as_i_presentation_componentIPresentationComponent读取允许获取基础 IPresentationComponent 接口。
slideIBaseSlide读取获取幻灯片。
presentationIPresentation读取获取演示文稿。

方法

签名描述
__init__()

另请参阅

 中文