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

NameTypeAccessDescription
portion_formatIPortionFormatReadReturns oformatting bject which contains explicitly set formatting properties of the text portion with no inheritance applied.
textstrRead/WriteGets 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__()Calls init on this Portion instance.
__setattr__(name: str, value)Calls setattr(name, value) on this Portion instance.

See Also

 English