ITextFrame

Overview

ITextFrame là một giao diện trong Aspose.Slides FOSS cho Java. Dòng thừa kế từ: ISlideComponent, IPresentationComponent.

Đặt một TextFrame.

Giao diện này cung cấp 10 phương pháp để làm việc với các đối tượng ITextFrame trong các chương trình Java. Các phương pháp có sẵn bao gồm: asIPresentationComponent, asISlideComponent, getParagraphs, getParentCell, getParentShape, getPresentation, getSlide, getText, getTextFrameFormat, setText. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.Slides FOSS cho gói Java. Tài sản : paragraphs, parentCell, parentShape, presentation, slide, text,Và 1 thêm.

Properties

NameTypeAccessDescription
paragraphsIParagraphCollectionReadTrả lại danh sách tất cả các đoạn trong một khung.
textStringReadNhận văn bản thẳng cho TextFrame.
textFrameFormatITextFrameFormatReadTrả về đối tượng định dạng cho TextFrame đối phẩm này.
parentShapeIShapeReadTrả lại hình dạng mẹ, hoặc {@code null} nếu đối tượng mẹ không thực hiện giao diện {_link IShape}.
parentCellICellReadTrở lại ô mẹ, hoặc {@code null} nếu đối tượng mẹ không thực hiện giao diện {_link ICell}.
slideIBaseSlideReadTrở lại slide của cha mẹ.
presentationIPresentationReadTrả lại bản trình bày chứa thành phần này.

Methods

SignatureDescription
getParagraphs()IParagraphCollectionTrả lại danh sách tất cả các đoạn trong một khung.
getText()StringNhận văn bản thẳng cho TextFrame.
setText(value: String)Đặt văn bản thẳng cho TextFrame.
getTextFrameFormat()ITextFrameFormatTrả về đối tượng định dạng cho TextFrame đối phẩm này.
getParentShape()IShapeTrả lại hình dạng mẹ, hoặc {@code null} nếu đối tượng mẹ không thực hiện giao diện {_link IShape}.
getParentCell()ICellTrở lại ô mẹ, hoặc {@code null} nếu đối tượng mẹ không thực hiện giao diện {_link ICell}.
asISlideComponent()ISlideComponentTrở lại giao diện cơ sở {@link ISlideComponent}.
getSlide()IBaseSlideTrở lại slide của cha mẹ.
asIPresentationComponent()IPresentationComponentTrở lại giao diện cơ sở {@link IPresentationComponent}.
getPresentation()IPresentationTrả lại bản trình bày chứa thành phần này.

See Also

 Tiếng Việt