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
| Name | Type | Access | Description |
|---|---|---|---|
portionFormat | IPortionFormat | Read | Returns formatting object which contains explicitly set formatting properties |
| of the text portion with no inheritance applied. | |||
text | String | Read | Gets the text of this portion. |
slide | IBaseSlide | Read | Returns the parent slide. |
presentation | IPresentation | Read | Returns the presentation containing this component. |
Methods
| Signature | Description |
|---|---|
getPortionFormat() → IPortionFormat | Returns formatting object which contains explicitly set formatting properties |
| of the text portion with no inheritance applied. | |
getText() → String | Gets the text of this portion. |
setText(value: String) | Sets the text of this portion. |
asISlideComponent() → ISlideComponent | Returns the parent slide component. |
asIPresentationComponent() → IPresentationComponent | Returns the parent presentation component. |
getSlide() → IBaseSlide | Returns the parent slide. |
getPresentation() → IPresentation | Returns the presentation containing this component. |