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

NameTypeAccessDescription
paragraphsIParagraphCollectionReadTrả lại bộ sưu tập đoạn.
textFrameFormatITextFrameFormatReadTrở lại định dạng frame văn bản.
textStringReadNhận được văn bản.
slideIBaseSlideReadGửi slide.
presentationIPresentationReadNhận được trình bày.
parentShapeIShapeReadCó hình dạng mẹ.
parentCellICellRead- Nhận được ô mẹ.

Methods

SignatureDescription
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()IParagraphCollectionTrả lại bộ sưu tập đoạn.
getTextFrameFormat()ITextFrameFormatTrở lại định dạng frame văn bản.
getText()StringTrả lại văn bản.
setText(text: String)Đặt giá trị văn bản.
getSlide()IBaseSlideTrở lại slide.
getPresentation()IPresentationTrở lại bản trình bày.
asIPresentationComponent()IPresentationComponentChèn khung văn bản vào một IPresentationComponent
getParentShape()IShapeTrở lại hình dạng mẹ.
getParentCell()ICellTrở lại tế bào mẹ.
asISlideComponent()ISlideComponentChèn khung văn bản vào một ISlideComponent

See Also

 Tiếng Việt