Picture
Overview
Picture is a class in Aspose.Slides FOSS for Java.
Inherits from: ISlidesPicture, ISlideComponent, IPresentationComponent.
Represents a picture in a presentation.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
image | IPPImage | Read | Holds the IPPImage associated with the picture |
linkPathLong | String | Read | Stores the long link path string for the picture |
presentation | IPresentation | Read | References the IPresentation containing this picture |
slide | IBaseSlide | Read | References the IBaseSlide that contains this picture |
Methods
| Signature | Description |
|---|---|
initInternal(blipElement: Element, parentSlide: IBaseSlide, parentPresentation: IPresentation) | Internal initialisation with the {@code <a:blip>} XML element. |
initInternal(blipElement: Element, parentSlide: IBaseSlide) | Internal initialisation with the {@code <a:blip>} XML element (no presentation context). |
initInternal(blipElement: Element, opcPackage: OpcPackage, slidePartName: String, parentSlide: IBaseSlide) | Internal initialisation with the {@code <a:blip>} XML element and OPC package context. |
asIPresentationComponent() → IPresentationComponent | |
getImage() → IPPImage | Retrieves the IPPImage associated with the picture |
setImage(value: IPPImage) | Assigns the given IPPImage to the picture |
getLinkPathLong() → String | Returns the long link path string of the picture |
setLinkPathLong(value: String) | Sets the long link path string for the picture |
getPresentation() → IPresentation | |
getSlide() → IBaseSlide | Returns the IBaseSlide that contains this picture |
asISlideComponent() → ISlideComponent | |
flushPendingBlipImages(element: Element, parentSlide: IBaseSlide) | Resolves any pending image references on {@code <a:blip>} elements within the given XML tree. |
setBlipImage(blipEl: Element, opcPackage: OpcPackage, slidePartName: String, ppImage: IPPImage) | Sets the image relationship on a blip element using OPC relationship management. |
computeRelativePath(fromDir: String, toPath: String) → String | Computes a relative path from a directory to a target path. |