MathPortion class
Contents
[
Hide
]MathPortion class
Represents a portion with mathematical context inside.
Inheritance:MathPortion
→ Portion
The MathPortion type exposes the following members:
Constructors
Constructor | Description |
---|---|
__init__ | Initializes a new instance of the MathPortion class. |
Properties
Property | Description |
---|---|
portion_format | Returns oformatting bject which contains explicitly set formatting properties of the text portion with no inheritance applied. Read-only IPortionFormat . |
text | Gets or sets the plain text of a portion. Read/write str. |
field | Returns a field of this portion. Read-only IField . |
math_paragraph | Math paragraph |
slide | |
presentation |
Methods
Method | Description |
---|---|
add_field | Converts this portion to the automaticaly updated field. |
add_field | Converts this portion to the automaticaly updated field. |
remove_field | Converts this field portion to the simple portion. |
get_rect | Get coordinates of rect that bounds portion. The rect includes all the lines of text in portion, including empty ones. |
get_coordinates | Get coordinates of the beginning of the portion. The X coordinate of point represents the portion beginning from the first character including left side bearing. The Y coordinate includes top side bearing. |
See Also
- class
MathPortion
- class
Portion
- module
aspose.slides.mathtext
- library
Aspose.Slides