Portion
Overview
Portion is a class in Aspose.Slides FOSS for Python.
Inherits from: StrictAttributes, IPortion, ISlideComponent, and 1 more.
Represents a portion of text inside a text paragraph.
This class declares 2 methods for Portion objects in Python programs.
Available methods include: __init__, __setattr__.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_presentation_component, as_i_slide_component, portion_format, presentation, slide, text.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
portion_format | IPortionFormat | Read | Returns oformatting bject which contains explicitly set formatting properties of the text portion with no inheritance applied. |
text | str | Read/Write | Gets or sets the plain text of a portion. |
as_i_slide_component | ISlideComponent | Read | Gets the as i slide component. |
slide | IBaseSlide | Read | Gets the slide. |
as_i_presentation_component | IPresentationComponent | Read | Gets the as i presentation component. |
presentation | IPresentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
__init__() | Calls init on this Portion instance. |
__setattr__(name: str, value) | Calls setattr(name, value) on this Portion instance. |