Picture — Aspose.Slides FOSS Java API Reference

Picture — Represents a picture in a presentation. Inherits from: ISlidesPicture, ISlideComponent, IPresentationComponent.

Package: org.aspose.slides.foss


Properties

PropertyTypeAccessDescription
imageIPPImageRead/Write
linkPathLongStringRead/Write
presentationIPresentationRead/Write
slideIBaseSlideRead/Write

Methods

MethodReturnsDescription
initInternal(Element blipElement, IBaseSlide parentSlide, IPresentation parentPresentation)voidInternal initialisation with the <a:blip> XML element.
initInternal(Element blipElement, IBaseSlide parentSlide)voidInternal initialisation with the <a:blip> XML element (no presentation context).
initInternal(Element blipElement, OpcPackage opcPackage, String slidePartName, IBaseSlide parentSlide)voidInternal initialisation with the <a:blip> XML element and OPC package context.
asIPresentationComponent()IPresentationComponent
getImage()IPPImage
setImage(IPPImage value)void
getLinkPathLong()String
setLinkPathLong(String value)void
getPresentation()IPresentation
getSlide()IBaseSlide
asISlideComponent()ISlideComponent
flushPendingBlipImages(Element element, IBaseSlide parentSlide)voidResolves any pending image references on <a:blip> elements within the given XML tree.
setBlipImage(Element blipEl, OpcPackage opcPackage, String slidePartName, IPPImage ppImage)voidSets the image relationship on a blip element using OPC relationship management.
computeRelativePath(String fromDir, String toPath)StringComputes a relative path from a directory to a target path.

See Also