IPortion

Overview

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

Represents a portion of text inside a text paragraph.

This interface declares 7 methods for IPortion objects in Java programs. Available methods include: asIPresentationComponent, asISlideComponent, getPortionFormat, getPresentation, getSlide, getText, setText. 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.
textStringRead/WriteGets 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

 English