Portion

Overview

Portion is a class in Aspose.Slides FOSS for Python. Inherits from: IPortion, ISlideComponent, IPresentationComponent.

Represents a portion of text inside a text paragraph.

This class provides 1 method for working with Portion objects in Python programs. Available methods include: __init__. All exported 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

NameTypeAccessDescription
portion_formatIPortionFormatReadReturns oformatting bject which contains explicitly set formatting properties of the text portion with no inheritance applied.
textstrReadGets or sets the plain text of a portion.
as_i_slide_componentISlideComponentReadGets the as i slide component.
slideIBaseSlideReadGets the slide.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
__init__()

See Also