API สาธารณะและการเปลี่ยนแปลงที่เข้ากันไม่ได้ย้อนหลังใน Aspose.Slides for Java 15.7.0
Contents
[
Hide
]
หน้านี้แสดงรายการคลาส, เมธอด, คุณสมบัติ และอื่น ๆ ที่ added หรือ removed ทั้งหมด, รวมถึงการเปลี่ยนแปลงอื่น ๆ ที่นำมาใช้ใน Aspose.Slides for Java 15.7.0 API.
การเปลี่ยนแปลง Public API
ได้เพิ่ม Enum com.aspose.slides.ImagePixelFormat
Enum com.aspose.slides.ImagePixelFormat ได้เพิ่มเพื่อระบุรูปแบบพิกเซลสำหรับภาพที่สร้างขึ้น.
ได้เพิ่มเมธอด com.aspose.slides.IChartDataPoint.getAutomaticDataPointColor()
เมธอดนี้คืนค่าสีอัตโนมัติของจุดข้อมูลโดยอิงจากดัชนีซีรีส์, ดัชนีจุดข้อมูล, parentSeriesGroup, ค่าของ isColorVaried และสไตล์ของแผนภูมิ. สีนี้จะถูกใช้เป็นค่าเริ่มต้นหาก fillType เท่ากับ NotDefined.
ได้เพิ่มเมธอด getPixelFormat(), setPixelFormat(int) ไปยัง com.aspose.slides.ITiffOptions
เมธอด getPixelFormat(), setPixelFormat(/ImagePixelFormat/int) ได้เพิ่มไปยัง com.aspose.slides.ITiffOptions และ com.aspose.slides.TiffOptions เพื่อระบุรูปแบบพิกเซลสำหรับภาพ TIFF ที่สร้างขึ้น.
Presentation pres = new Presentation("demo.pptx");
TiffOptions options = new TiffOptions();
options.setPixelFormat(ImagePixelFormat.Format8bppIndexed);
pres.save("demo-out.tiff", SaveFormat.Tiff, options);