MathBorderBox class
Contents
[
Hide
]MathBorderBox class
Draws a rectangular or some other border around the IMathElement.
Inheritance:MathBorderBox → MathElementBase
The MathBorderBox type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self, element) | Creates MathBorderBox element with rectangular border |
__init__(self, element, hide_top, hide_bottom, hide_left, hide_right, strikethrough_horizontal, strikethrough_vertical, strikethrough_bottom_left_to_top_right, strikethrough_top_left_to_bottom_right) | Creates MathBorderBox element |
Properties
| Property | Description |
|---|---|
base | Base argument |
hide_top | Hide Top Edge (default is false) - specifies the hidden or shown state of the top edge of border box. |
hide_bottom | Hide Bottom Edge (default is false) - specifies the hidden or shown state of the bottom edge of border box. |
hide_left | Hide Left Edge (default is false) - specifies the hidden or shown state of the left edge of border box. |
hide_right | Hide Right Edge (default is false) - specifies the hidden or shown state of the right edge of border box. |
strikethrough_horizontal | Strikethrough Horizontal (default is false) - specifies the hidden or shown state of a strikethrough horizontal line. |
strikethrough_vertical | Strikethrough Vertical (default is false) - specifies the hidden or shown state of a strikethrough vertical line. |
strikethrough_bottom_left_to_top_right | Strikethrough Bottom-Left to Top-Right (default is false). Specifies the hidden or shown state of a strikethrough diagonal line from the bottom-left corner to the top-right corner of border box. |
strikethrough_top_left_to_bottom_right | Strikethrough Top-Left to Bottom-Right (default is false). Specifies the hidden or shown state of a strikethrough diagonal line from the top-left corner to the bottom-right corner of border box. |
Methods
| Method | Description |
|---|---|
join(self, math_element) | Joins a mathematical element and forms a mathematical block |
join(self, math_text) | Joins a mathematical text and forms a mathematical block |
divide(self, denominator) | Creates a fraction with this numerator and specified denominator |
divide(self, denominator) | Creates a fraction with this numerator and specified denominator |
divide(self, denominator, fraction_type) | Creates a fraction of the specified type with this numerator and specified denominator |
divide(self, denominator, fraction_type) | Creates a fraction of the specified type with this numerator and specified denominator |
enclose(self) | Encloses a math element in parenthesis |
enclose(self, beginning_character, ending_character) | Encloses a math element in specified characters such as parenthesis or another characters as framing |
function(self, function_argument) | Takes a function of an argument using this instance as the function name |
function(self, function_argument) | Takes a function of an argument using this instance as the function name |
as_argument_of_function(self, function_name) | Takes specified function using this instance as the argument |
as_argument_of_function(self, function_name) | Takes specified function using this instance as the argument |
as_argument_of_function(self, function_type) | Takes specified function using this instance as the argument |
as_argument_of_function(self, function_type, additional_argument) | Takes specified function using this instance as the argument and specified additional argument |
as_argument_of_function(self, function_type, additional_argument) | Takes specified function using this instance as the argument and specified additional argument |
set_subscript(self, subscript) | Creates subscript |
set_subscript(self, subscript) | Creates subscript |
set_superscript(self, superscript) | Creates superscript |
set_superscript(self, superscript) | Creates superscript |
set_sub_superscript_on_the_right(self, subscript, superscript) | Creates subscript and superscript on the right |
set_sub_superscript_on_the_right(self, subscript, superscript) | Creates subscript and superscript on the right |
set_sub_superscript_on_the_left(self, subscript, superscript) | Creates subscript and superscript on the left |
set_sub_superscript_on_the_left(self, subscript, superscript) | Creates subscript and superscript on the left |
radical(self, degree) | Specifies the mathematical root of the given degree from the specified argument. |
radical(self, degree) | Specifies the mathematical root of the given degree from the specified argument. |
set_upper_limit(self, limit) | Takes upper limit |
set_upper_limit(self, limit) | Takes upper limit |
set_lower_limit(self, limit) | Takes lower limit |
set_lower_limit(self, limit) | Takes lower limit |
nary(self, type, lower_limit, upper_limit) | Creates a N-ary operator |
nary(self, type, lower_limit, upper_limit) | Creates a N-ary operator |
integral(self, integral_type, lower_limit, upper_limit, limit_locations) | Takes the integral |
integral(self, integral_type, lower_limit, upper_limit) | Takes the integral |
integral(self, integral_type) | Takes the integral without limits |
integral(self, integral_type, lower_limit, upper_limit, limit_locations) | Takes the integral |
integral(self, integral_type, lower_limit, upper_limit) | Takes the integral |
group(self) | Places this element in a group using a bottom curly bracket |
group(self, character, position, vertical_justification) | Places this element in a group using a grouping character such as bottom curly bracket or another |
to_border_box(self) | Places this element in a border-box |
to_border_box(self, hide_top, hide_bottom, hide_left, hide_right, strikethrough_horizontal, strikethrough_vertical, strikethrough_bottom_left_to_top_right, strikethrough_top_left_to_bottom_right) | Places this element in a border-box |
to_math_array(self) | Puts in a vertical array |
accent(self, accent_character) | Sets an accent mark (a character on the top of this element) |
overbar(self) | Sets a bar on the top of this element |
underbar(self) | Sets a bar on the bottom of this element |
to_box(self) | Places this element in a non-visual box (logical grouping) which is used to group components of an equation or other instance of mathematical text. A boxed object can (for example) serve as an operator emulator with or without an alignment point, serve as a line break point, or be grouped such as not to allow line breaks within. |
get_children(self) | Get children elements |
See Also
- class
MathBorderBox - class
MathElementBase - module
aspose.slides.mathtext - library
Aspose.Slides