TextFrame
Overview
TextFrame là một lớp trong Aspose.Slides FOSS cho Java. Dòng thừa kế từ: ITextFrame.
Nó đại diện cho một khung văn bản chứa các đoạn.
Khóa học này cung cấp 12 phương pháp để làm việc với các đối tượng TextFrame trong các chương trình Java. Các phương pháp có sẵn bao gồm: TextFrame, 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 bộ sưu tập đoạn. |
textFrameFormat | ITextFrameFormat | Read | Trở lại định dạng frame văn bản. |
text | String | Read | Nhận được văn bản. |
slide | IBaseSlide | Read | Gửi slide. |
presentation | IPresentation | Read | Nhận được trình bày. |
parentShape | IShape | Read | Có hình dạng mẹ. |
parentCell | ICell | Read | - Nhận được ô mẹ. |
Methods
| Signature | Description |
|---|---|
TextFrame(txBodyElement: Element, saveCallback: Runnable) | Tạo một TextFrame được hỗ trợ bởi yếu tố cơ thể văn bản cụ thể. |
TextFrame(txBodyElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide, parentShape: IShape) | Tạo một TextFrame được hỗ trợ bởi yếu tố cơ thể văn bản cụ thể với bối cảnh mẹ đẻ. |
getParagraphs() → IParagraphCollection | Trả lại bộ sưu tập đoạn. |
getTextFrameFormat() → ITextFrameFormat | Trở lại định dạng frame văn bản. |
getText() → String | Trả lại văn bản. |
setText(text: String) | Đặt giá trị văn bản. |
getSlide() → IBaseSlide | Trở lại slide. |
getPresentation() → IPresentation | Trở lại bản trình bày. |
asIPresentationComponent() → IPresentationComponent | Chèn khung văn bản vào một IPresentationComponent |
getParentShape() → IShape | Trở lại hình dạng mẹ. |
getParentCell() → ICell | Trở lại tế bào mẹ. |
asISlideComponent() → ISlideComponent | Chèn khung văn bản vào một ISlideComponent |