ITextFrame

Overview

ITextFrame is a interface in Aspose.Slides FOSS for Java. Inherits from: ISlideComponent, IPresentationComponent.

Represents a TextFrame.

This interface provides 10 methods for working with ITextFrame objects in Java programs. Available methods include: asIPresentationComponent, asISlideComponent, getParagraphs, getParentCell, getParentShape, getPresentation, getSlide, getText, getTextFrameFormat, setText. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: paragraphs, parentCell, parentShape, presentation, slide, text, and 1 more.

Properties

NameTypeAccessDescription
paragraphsIParagraphCollectionReadReturns the list of all paragraphs in a frame.
textStringReadGets the plain text for a TextFrame.
textFrameFormatITextFrameFormatReadReturns the formatting object for this TextFrame object.
parentShapeIShapeReadReturns the parent shape, or {@code null} if the parent object does not
implement the {@link IShape} interface.
parentCellICellReadReturns the parent cell, or {@code null} if the parent object does not
implement the {@link ICell} interface.
slideIBaseSlideReadReturns the parent slide.
presentationIPresentationReadReturns the presentation containing this component.

Methods

SignatureDescription
getParagraphs() → IParagraphCollectionReturns the list of all paragraphs in a frame.
getText() → StringGets the plain text for a TextFrame.
setText(value: String)Sets the plain text for a TextFrame.
getTextFrameFormat() → ITextFrameFormatReturns the formatting object for this TextFrame object.
getParentShape() → IShapeReturns the parent shape, or {@code null} if the parent object does not
implement the {@link IShape} interface.
getParentCell() → ICellReturns the parent cell, or {@code null} if the parent object does not
implement the {@link ICell} interface.
asISlideComponent() → ISlideComponentReturns the base {@link ISlideComponent} interface.
getSlide() → IBaseSlideReturns the parent slide.
asIPresentationComponent() → IPresentationComponentReturns the base {@link IPresentationComponent} interface.
getPresentation() → IPresentationReturns the presentation containing this component.

See Also

 English