Picture

Overview

Picture is a class in Aspose.Slides FOSS for Java. Inherits from: ISlidesPicture, ISlideComponent, IPresentationComponent.

Represents a picture in a presentation.

Properties

NameTypeAccessDescription
imageIPPImageReadHolds the IPPImage associated with the picture
linkPathLongStringReadStores the long link path string for the picture
presentationIPresentationReadReferences the IPresentation containing this picture
slideIBaseSlideReadReferences the IBaseSlide that contains this picture

Methods

SignatureDescription
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()IPPImageRetrieves the IPPImage associated with the picture
setImage(value: IPPImage)Assigns the given IPPImage to the picture
getLinkPathLong()StringReturns the long link path string of the picture
setLinkPathLong(value: String)Sets the long link path string for the picture
getPresentation()IPresentation
getSlide()IBaseSlideReturns 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)StringComputes a relative path from a directory to a target path.

See Also