PPImage

نمای کلی

PPImage یک کلاس در Aspose.Slides FOSS برای Java است. ارث‌برده از: IPPImage.

نمایانگر یک تصویر در یک ارائه است.

این کلاس 12 متد برای کار با اشیای PPImage در برنامه‌های Java ارائه می‌دهد. متدهای موجود شامل: PPImage, getBinaryData, getContentType, getHeight, getImage, getWidth, getX, getY, initInternal, replaceImage است. تمام اعضای عمومی پس از نصب بسته Aspose.Slides FOSS برای Java در هر برنامهٔ Java در دسترس هستند. ویژگی‌ها: binaryData, contentType, height, image, width, x و 1 مورد دیگر.

خواص

نامنوعدسترسیتوضیح
binaryDatabyte[]خواندن{@inheritDoc} /
imageIImageخواندن{@inheritDoc} /
contentTypeStringخواندن{@inheritDoc} /
widthintخواندن{@inheritDoc} /
heightintخواندن{@inheritDoc} /
xintخواندن{@inheritDoc} @return همیشه {@code 0} /
yintخواندن{@inheritDoc} @return همیشه {@code 0} /

روش ها

امضاتوضیح
PPImage()یک {@code PPImage} بدون مقداردهی اولیه ایجاد می‌کند.
initInternal(pkg: OpcPackage, partName: String, imageData: byte[], contentType: String)راه‌اندازی داخلی با ارجاع به بسته OPC.
getBinaryData() → byte[]{@inheritDoc} /
getImage() → IImage{@inheritDoc} /
getContentType() → String{@inheritDoc} /
getWidth() → int{@inheritDoc} /
getHeight() → int{@inheritDoc} /
getX() → int{@inheritDoc} @return همیشه {@code 0} /
getY() → int{@inheritDoc} @return همیشه {@code 0} /
replaceImage(newImageData: byte[]){@inheritDoc} /
replaceImage(newImage: IImage){@inheritDoc} /
replaceImage(newImage: IPPImage){@inheritDoc} /

همچنین ببینید:

 فارسی