IPortion

Overview

IPortion is a interface in Aspose.Slides FOSS for Java. Inherits from: ISlideComponent.

Represents a portion of text inside a text paragraph.

This interface provides 7 methods for working with IPortion objects in Java programs. Available methods include: asIPresentationComponent, asISlideComponent, getPortionFormat, getPresentation, getSlide, getText, setText. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: portionFormat, presentation, slide, text.

Properties

NameTypeAccessDescription
portionFormatIPortionFormatReadReturns formatting object which contains explicitly set formatting properties
of the text portion with no inheritance applied.
textStringReadGets the text of this portion.
slideIBaseSlideReadReturns the parent slide.
presentationIPresentationReadReturns the presentation containing this component.

Methods

SignatureDescription
getPortionFormat()IPortionFormatReturns formatting object which contains explicitly set formatting properties
of the text portion with no inheritance applied.
getText()StringGets the text of this portion.
setText(value: String)Sets the text of this portion.
asISlideComponent()ISlideComponentReturns the parent slide component.
asIPresentationComponent()IPresentationComponentReturns the parent presentation component.
getSlide()IBaseSlideReturns the parent slide.
getPresentation()IPresentationReturns the presentation containing this component.

See Also