Picture

Overview

Picture là một lớp trong Aspose.Slides FOSS cho Java. Dòng thừa kế từ: ISlidesPicture, ISlideComponent, IPresentationComponent.

Giới thiệu hình ảnh trong một buổi trình bày.

Khóa học này cung cấp 14 phương pháp để làm việc với các đối tượng hình ảnh trong các chương trình Java. Các phương pháp có sẵn bao gồm: asIPresentationComponent, asISlideComponent, computeRelativePath, flushPendingBlipImages, getImage, getLinkPathLong, getPresentation, getSlide, initInternal, setBlipImage, setImage, setLinkPathLong. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.Slides FOSS cho gói Java. Tài sản : image, linkPathLong, presentation, slide.

Properties

NameTypeAccessDescription
imageIPPImageReadNhận được hình ảnh.
linkPathLongStringReadKết nối đường dài.
presentationIPresentationReadNhận được trình bày.
slideIBaseSlideReadGửi slide.

Methods

SignatureDescription
initInternal(blipElement: Element, parentSlide: IBaseSlide, parentPresentation: IPresentation)Đầu tiên nội bộ với {@code <a:blip>} XML element.
initInternal(blipElement: Element, parentSlide: IBaseSlide)Đầu tiên nội bộ với {@code <a:blip>} XML (không có bối cảnh trình bày).
initInternal(blipElement: Element, opcPackage: OpcPackage, slidePartName: String, parentSlide: IBaseSlide)Đầu tiên nội bộ với {@code <a:blip>} XML và khung gói OPC.
asIPresentationComponent()IPresentationComponent
getImage()IPPImageTrở lại hình ảnh.
setImage(value: IPPImage)Đặt giá trị hình ảnh.
getLinkPathLong()StringTrở lại đường liên kết dài.
setLinkPathLong(value: String)Thiết lập đường liên kết dài giá trị.
getPresentation()IPresentationTrở lại bản trình bày.
getSlide()IBaseSlideTrở lại slide.
asISlideComponent()ISlideComponent
flushPendingBlipImages(element: Element, parentSlide: IBaseSlide)Giải quyết bất kỳ tham chiếu hình ảnh đang chờ trên các yếu tố {@code <a:blip>} trong cây XML cụ thể.
setBlipImage(blipEl: Element, opcPackage: OpcPackage, slidePartName: String, ppImage: IPPImage)Thiết lập mối quan hệ hình ảnh trên một yếu tố blip bằng cách sử dụng quản lý mối liên hệ OPC.
computeRelativePath(fromDir: String, toPath: String)StringTính toán một con đường tương đối từ một thư mục đến một tuyến đường đích.

See Also

 Tiếng Việt