TextFrame
ภาพรวม
TextFrame เป็นคลาสใน Aspose.Slides FOSS สําหรับ Java. ทายาทจาก: ITextFrame.
แสดงเป็นกรอบข้อความที่มีบท.
หมวดนี้ให้วิธีการ 12 สําหรับทํางานกับ TextFrame วัตถุในโปรแกรม Java. วิธีการที่ใช้ได้แก่: TextFrame, asIPresentationComponent, asISlideComponent, getParagraphs, getParentCell, getParentShape, getPresentation, getSlide, getText, getTextFrameFormat, setText. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: paragraphs, parentCell, parentShape, presentation, slide, text,และอีก 1 ใบ.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
paragraphs | IParagraphCollection | อ่าน | การคืนการรวบรวมข้อความ. |
textFrameFormat | ITextFrameFormat | อ่าน | ส่งรูปแบบกรอบข้อความกลับ. |
text | String | อ่าน | รับข้อความ. |
slide | IBaseSlide | อ่าน | รับสไลด์. |
presentation | IPresentation | อ่าน | รับการนำเสนอ. |
parentShape | IShape | อ่าน | รับรูปร่างแม่. |
parentCell | ICell | อ่าน | รับเซลล์แม่. |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
TextFrame(txBodyElement: Element, saveCallback: Runnable) | สร้าง TextFrame ที่รองรับด้วยตัวส่วนของข้อความที่ให้. |
TextFrame(txBodyElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide, parentShape: IShape) | สร้าง TextFrame ที่รองรับโดยตัวส่วนของข้อความที่ให้พร้อมกับกรอบหลัก. |
getParagraphs() → IParagraphCollection | การคืนการรวบรวมข้อความ. |
getTextFrameFormat() → ITextFrameFormat | ส่งรูปแบบกรอบข้อความกลับ. |
getText() → String | ส่งข้อความกลับ. |
setText(text: String) | กำหนดค่าข้อความ. |
getSlide() → IBaseSlide | กลับสไลด์. |
getPresentation() → IPresentation | ส่งผลการแสดงภาพกลับคืนมา. |
asIPresentationComponent() → IPresentationComponent | แจกกรอบข้อความไปยัง IPresentationComponent |
getParentShape() → IShape | ส่งรูปแบบหลักกลับมา. |
getParentCell() → ICell | กลับเซลล์ต้นกําเนิด. |
asISlideComponent() → ISlideComponent | แจกกรอบข้อความไปยัง ISlideComponent |