Presentation

ภาพรวม

Presentation เป็นคลาสใน Aspose.Slides FOSS สําหรับ Java. ทายาทจาก: IPresentation.

แสดงตัวอย่าง PowerPoint การนําเสนอ.

หมวดนี้ให้ 30 วิธีในการทํางานกับวัตถุ Presentation ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: Presentation, asIPresentationComponent, close, dispose, getCommentAuthors, getCurrentDateTime, getDocumentProperties, getFirstSlideNumber, getImages, getLayoutSlides, getMasters, getNotesSize,และวิธีการเพิ่มเติม 6 วิธี. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: commentAuthors, currentDateTime, documentProperties, firstSlideNumber, images, layoutSlides,และอีก 5 คน.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
presentationIPresentationอ่านรับการนำเสนอ.
currentDateTimeLocalDateTimeอ่านรับวันที่และเวลาปัจจุบัน.
documentPropertiesIDocumentPropertiesอ่านรับคุณสมบัติของเอกสาร.
commentAuthorsICommentAuthorCollectionอ่านรับผู้เขียนความคิดเห็น.
slidesISlideCollectionอ่านรับสไลด์.
notesSizeINotesSizeอ่านรับขนาดของโน้ต.
layoutSlidesIGlobalLayoutSlideCollectionอ่านรับสไลด์การจัดวาง.
mastersIMasterSlideCollectionอ่านดึงมาสเตอร์.
imagesIImageCollectionอ่านรับรูปภาพ.
sourceFormatSourceFormatอ่านรับรูปแบบต้นฉบับ.
firstSlideNumberintอ่านรับหมายเลขสไลด์แรก.

วิธีการ

Signatureคําอธิบาย
Presentation()สร้างการนําเสนอที่ว่างใหม่ด้วยสไลด์เดียว.
Presentation(path: String)เปิดภาพแสดงจากเส้นทางไฟล์ที่ให้ไว้.
Presentation(in: InputStream)เปิดการแสดงภาพจากกระแส input ที่ให้ไว้.
save(path: String)เก็บอิเด็กซ์สไลด์ที่ระบุไว้ในโครงการในรูปแบบที่มีตัวเลือกเท่านั้น
save(stream: OutputStream)
getPresentation()IPresentationส่งผลการแสดงภาพกลับคืนมา.
getCurrentDateTime()LocalDateTimeกลับวันที่และเวลาปัจจุบัน.
setCurrentDateTime(value: LocalDateTime)ตั้งค่าค่าที่เป็นวันที่และเวลาปัจจุบัน.
getDocumentProperties()IDocumentPropertiesการคืน Properties ของเอกสาร.
getCommentAuthors()ICommentAuthorCollectionกลับความเห็น ผู้เขียน.
getSlides()ISlideCollectionส่งภาพสไลด์กลับมา.
getNotesSize()INotesSizeการคืนขนาดของโน๊ต.
getLayoutSlides()IGlobalLayoutSlideCollectionการคืนสไลด์การวางแผน.
getMasters()IMasterSlideCollectionกลับมาให้เจ้านายได้.
getImages()IImageCollectionส่งภาพกลับมา.
getSourceFormat()SourceFormatส่งรูปแบบแหล่งกลับ.
getFirstSlideNumber()intกลับเลขสไลด์แรก.
setFirstSlideNumber(value: int)ตั้งค่าค่าหมายเลขสไลด์แรก.
asIPresentationComponent()IPresentationComponentการส่งกลับการแสดงเป็น IPresentationComponent
save(path: String, format: SaveFormat)
save(stream: OutputStream, format: SaveFormat)
save(path: String, format: SaveFormat, options: ISaveOptions)
save(stream: OutputStream, format: SaveFormat, options: ISaveOptions)
save(path: String, slides: int[], format: SaveFormat)
save(path: String, slides: int[], format: SaveFormat, options: ISaveOptions)
save(stream: OutputStream, slides: int[], format: SaveFormat)
save(stream: OutputStream, slides: int[], format: SaveFormat, options: ISaveOptions)
save(options: ISaveOptions)ไม่ถูกนําไปใช้ใน FOSS edition throws ในเวลาทํางาน.
dispose()ปล่อยทรัพยากรทั้งหมดที่ใช้ในการนําเสนอ
close()ปิดการแสดงและปล่อยทรัพยากร

ดูเช่นกัน

 ภาษาไทย