ITextFrame

ภาพรวม

ITextFrame เป็นอินเตอร์เฟสใน Aspose.Slides FOSS สําหรับ Java. ทายาทจาก: ISlideComponent, IPresentationComponent.

แสดงเป็น TextFrame.

ช่องทางนี้ให้ 10 วิธีในการทํางานกับวัตถุ ITextFrame ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: asIPresentationComponent, asISlideComponent, getParagraphs, getParentCell, getParentShape, getPresentation, getSlide, getText, getTextFrameFormat, setText. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: paragraphs, parentCell, parentShape, presentation, slide, text,และอีก 1 ใบ.

คุณสมบัติ

NameTypeAccessDescription
paragraphsIParagraphCollectionReadส่งรายการของทุกข้อในกรอบกลับ.
textStringReadได้ข้อความเรียบง่ายสําหรับ TextFrame.
textFrameFormatITextFrameFormatReadกลับวัตถุการจัดรูปสําหรับวัสดุ TextFrame นี้.
parentShapeIShapeReadกลับรูปแบบของพ่อแม่, หรือ {@code null} หากวัตถุพ่อ แม่ไม่ดําเนินการต่อหน้า { @ link IShape}.
parentCellICellReadกลับเซลล์แม่ หรือ {@code null} หากวัตถุแม่ ไม่ดําเนินการต่อหน้า { @ link ICell}.
slideIBaseSlideReadการคืนสไลด์แม่.
presentationIPresentationReadกลับตัวแสดงที่มีส่วนประกอบนี้.

วิธีการ

SignatureDescription
getParagraphs() → IParagraphCollectionส่งรายการของทุกข้อในกรอบกลับ.
getText() → Stringได้ข้อความเรียบง่ายสําหรับ TextFrame.
setText(value: String)กําหนดข้อความเปลือกสําหรับ TextFrame.
getTextFrameFormat() → ITextFrameFormatกลับวัตถุการจัดรูปสําหรับวัสดุ TextFrame นี้.
getParentShape() → IShapeกลับรูปแบบของพ่อแม่, หรือ {@code null} หากวัตถุพ่อ แม่ไม่ดําเนินการต่อหน้า { @ link IShape}.
getParentCell() → ICellกลับเซลล์แม่ หรือ {@code null} หากวัตถุแม่ ไม่ดําเนินการต่อหน้า { @ link ICell}.
asISlideComponent() → ISlideComponentกลับพื้นฐาน {@link ISlideComponent} อินเตอร์เฟส.
getSlide() → IBaseSlideการคืนสไลด์แม่.
asIPresentationComponent() → IPresentationComponentกลับพื้นฐาน {@link IPresentationComponent} อินเตอร์เฟส.
getPresentation() → IPresentationกลับตัวแสดงที่มีส่วนประกอบนี้.

ดูเช่นกัน

 ภาษาไทย