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คําอธิบาย
paragraphsIParagraphCollectionอ่านการคืนการรวบรวมข้อความ.
textFrameFormatITextFrameFormatอ่านส่งรูปแบบกรอบข้อความกลับ.
textStringอ่านรับข้อความ.
slideIBaseSlideอ่านรับสไลด์.
presentationIPresentationอ่านรับการนำเสนอ.
parentShapeIShapeอ่านรับรูปร่างแม่.
parentCellICellอ่านรับเซลล์แม่.

วิธีการ

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

ดูเช่นกัน

 ภาษาไทย