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
| Name | Type | Access | Description |
|---|---|---|---|
image | IPPImage | Read | Nhận được hình ảnh. |
linkPathLong | String | Read | Kết nối đường dài. |
presentation | IPresentation | Read | Nhận được trình bày. |
slide | IBaseSlide | Read | Gửi slide. |
Methods
| Signature | Description |
|---|---|
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() → IPPImage | Trở lại hình ảnh. |
setImage(value: IPPImage) | Đặt giá trị hình ảnh. |
getLinkPathLong() → String | Trở 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() → IPresentation | Trở lại bản trình bày. |
getSlide() → IBaseSlide | Trở 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) → String | Tính toán một con đường tương đối từ một thư mục đến một tuyến đường đích. |