NaryEquationNode类

NaryEquationNode类

此类指定一个 n 元运算符方程,由一个 n 元运算符、一个基数(或操作数)以及可选的上限和下限组成。

继承: NaryEquationNode

NaryEquationNode 类型公开以下成员:

属性

属性描述
type
start_index
length
font
text_options
equation_type
is_hide_subscript是否显示下限
is_hide_superscript是否显示上限
limit_location此属性指定 n 元运算符中界限的位置。界限可以位于 n 元运算符的上下中心,也可以位于运算符的右侧。
nary_operator一个 n 元运算符,例如“∑”。
强烈建议使用属性 NaryOperatorType 来设置 n 元运算符。
如果在已知类型中找不到所需的字符,请使用此属性设置。
nary_operator_type一个 n 元运算符,例如“∑”
nary_grow此属性指定文档级别的 n 元运算符的增长属性。禁用时,n 元运算符(例如积分和求和)不会增长以匹配其操作数的高度。启用时,n 元运算符会垂直增长以匹配其操作数的高度。

方法

方法描述
add_child(self, equation_type)
add_child(self, node)
remove_child(self, node)
remove_child(self, index)
set_word_art_style(self, style)
to_la_te_x(self)
to_math_ml(self)
insert_child(self, index, equation_type)
insert_after(self, equation_type)
insert_before(self, equation_type)
get_child(self, index)
remove(self)
remove_all_children(self)
create_node(, equation_type, workbook, parent)

也可以看看