GroupDocs.Annotation for Java ทำให้การทำหมายเหตุในงานนำเสนอ PowerPoint ง่ายขึ้น:
- เปิดไฟล์ PowerPoint ด้วยอินสแตนซ์ของ Annotator.
- สร้างและกำหนดค่าหมายเหตุที่คุณต้องการ.
- เพิ่มหมายเหตุลงในงานนำเสนอ.
- บันทึกไฟล์ PowerPoint ที่มีหมายเหตุ.
GroupDocs.Annotation for Java ทำให้การทำหมายเหตุในงานนำเสนอ PowerPoint ง่ายขึ้น:
// ทำหมายเหตุงานนำเสนอ PowerPoint
// เปิดงานนำเสนอด้วยอินสแตนซ์ของ Annotator
Annotator annotator = new Annotator("input.pptx");
try {
// สร้างหมายเหตุพื้นที่
AreaAnnotation area = new AreaAnnotation();
area.setBox(new Rectangle(100, 100, 200, 80));
area.setBackgroundColor(65535);
area.setPageNumber(0);
area.setMessage("Important");
// เพิ่มหมายเหตุ
annotator.add(area);
// บันทึกงานนำเสนอที่มีหมายเหตุ
annotator.save("annotated.pptx");
} finally {
annotator.dispose();
}
implementation 'com.groupdocs:groupdocs-annotation:25.6.0'
เพิ่มทุกประเภทของหมายเหตุในงานนำเสนอ PowerPoint และจัดการด้วย API ที่เรียบง่าย.

ไฮไลท์, ขีดเส้นใต้, ขีดฆ่า, หรือแทนที่ข้อความในไฟล์ PowerPoint.
วาดรูปร่างและใส่ลายน้ำหรือรูปภาพลงบนสไลด์ PowerPoint.
ดึง, ลบ, นำเข้าและส่งออกคำอธิบายประกอบ PowerPoint.
// เปิดงานนำเสนอที่มีคำอธิบายประกอบ
Annotator annotator = new Annotator("annotated.pptx");
try {
// ดึงคำอธิบายประกอบทั้งหมด
List<AnnotationBase> annotations = annotator.get();
// ตรวจสอบแต่ละคำอธิบายประกอบ
for (AnnotationBase annotation : annotations) {
System.out.println(annotation.getMessage());
}
// บันทึกงานนำเสนอ
annotator.save("output.pptx");
} finally {
annotator.dispose();
}
implementation 'com.groupdocs:groupdocs-annotation:25.6.0'
ดาวน์โหลด GroupDocs.Annotation ฟรีหรือรับสิทธิ์การใช้งานแบบทดลองใช้เพื่อการเข้าถึงแบบเต็ม!
สำรวจเอกสารตัวอย่างรหัสและการสนับสนุนชุมชนเพื่อปรับปรุงประสบการณ์ของคุณ
GroupDocs.Annotation for Java รองรับการอธิบายประกอบเอกสารในหลายรูปแบบไฟล์:

