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
| Name | Type | Access | Description |
|---|---|---|---|
paragraphs | IParagraphCollection | Read | Trả lại danh sách tất cả các đoạn trong một khung. |
text | String | Read | Nhận văn bản thẳng cho TextFrame. |
textFrameFormat | ITextFrameFormat | Read | Trả về đối tượng định dạng cho TextFrame đối phẩm này. |
parentShape | IShape | Read | Trả 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}. |
parentCell | ICell | Read | Trở lại ô mẹ, hoặc {@code null} nếu đối tượng mẹ không thực hiện giao diện {_link ICell}. |
slide | IBaseSlide | Read | Trở lại slide của cha mẹ. |
presentation | IPresentation | Read | Trả lại bản trình bày chứa thành phần này. |
Methods
| Signature | Description |
|---|---|
getParagraphs() → IParagraphCollection | Trả lại danh sách tất cả các đoạn trong một khung. |
getText() → String | Nhận văn bản thẳng cho TextFrame. |
setText(value: String) | Đặt văn bản thẳng cho TextFrame. |
getTextFrameFormat() → ITextFrameFormat | Trả về đối tượng định dạng cho TextFrame đối phẩm này. |
getParentShape() → IShape | Trả 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() → ICell | Trở 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() → ISlideComponent | Trở lại giao diện cơ sở {@link ISlideComponent}. |
getSlide() → IBaseSlide | Trở lại slide của cha mẹ. |
asIPresentationComponent() → IPresentationComponent | Trở lại giao diện cơ sở {@link IPresentationComponent}. |
getPresentation() → IPresentation | Trả lại bản trình bày chứa thành phần này. |