PictureFrame

Overview

PictureFrame is a class in Aspose.Slides FOSS for Java. Inherits from: GeometryShape, IPictureFrame.

Represents a frame with a picture inside.

This class declares 57 methods for PictureFrame objects in Java programs. Available methods include: GeometryShape, PictureFrame, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, and 43 additional methods. Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: adjustments, alternativeText, alternativeTextTitle, asISlideComponent, cNvPr, cameo, and 30 more.

Properties

NameTypeAccessDescription
shapeTypeShapeTypeRead/Write{@inheritDoc} *

Returns or sets the AutoShape type for a PictureFrame.

pictureFrameLockIPictureFrameLockRead{@inheritDoc} *

Navigates {@code <p:nvPicPr>/<p:cNvPicPr>/<a:picLocks>} and creates the {@code <a:picLocks>} element if it does not exist.

/
pictureFormatIPictureFillFormatRead{@inheritDoc} *

Returns the {@link PictureFillFormat} wrapping the {@code <p:blipFill>} child element, or {@code null} if no blipFill is present.

/
relativeScaleHeightdoubleRead/WriteGets or sets the relative scale height.
relativeScaleWidthdoubleRead/WriteGets or sets the relative scale width.
cameobooleanReadGets the cameo.
cNvPrElementReadReturns the {@code cNvPr} element from {@code <p:nvPicPr>/<p:cNvPr>}.
xdoubleRead/WriteGets or sets the x.
ydoubleRead/WriteGets or sets the y.
widthdoubleRead/WriteGets or sets the width.
heightdoubleRead/WriteGets or sets the height.
rotationdoubleRead/WriteGets or sets the rotation.
shapeStyleIShapeStyleReadGets the shape style.
fillFormatIFillFormatReadGets the fill format.
adjustmentsIAdjustValueCollectionReadGets the adjustments.
textHolderbooleanReadGets the text holder.
placeholderIPlaceholderReadGets the placeholder.
customDataICustomDataReadGets the custom data.
rawFrameIShapeFrameRead/WriteGets or sets the raw frame.
frameIShapeFrameRead/WriteGets or sets the frame.
lineFormatILineFormatReadGets the line format.
threeDFormatIThreeDFormatReadGets the three d format.
effectFormatIEffectFormatReadGets the effect format.
hiddenbooleanRead/WriteGets or sets the hidden.
zOrderPositionintReadGets the z order position.
connectionSiteCountintReadGets the connection site count.
alternativeTextStringRead/WriteGets or sets the alternative text.
alternativeTextTitleStringRead/WriteGets or sets the alternative text title.
nameStringRead/WriteGets or sets the name.
decorativebooleanRead/WriteGets or sets the decorative.
uniqueIdintReadGets the unique id.
officeInteropShapeIdintReadGets the office interop shape id.
groupedbooleanReadGets the grouped.
asISlideComponentISlideComponentReadGets the as i slide component.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
PictureFrame(xmlElement: Element, saveCallback: Runnable)Creates a PictureFrame backed by the given XML element.
PictureFrame()Creates a PictureFrame with no backing element.
getShapeType() → ShapeType{@inheritDoc} *

Returns or sets the AutoShape type for a PictureFrame.

setShapeType(value: ShapeType){@inheritDoc} /
getPictureFrameLock() → IPictureFrameLock{@inheritDoc} *

Navigates {@code <p:nvPicPr>/<p:cNvPicPr>/<a:picLocks>} and creates the {@code <a:picLocks>} element if it does not exist.

/
getPictureFormat() → IPictureFillFormat{@inheritDoc} *

Returns the {@link PictureFillFormat} wrapping the {@code <p:blipFill>} child element, or {@code null} if no blipFill is present.

/
getRelativeScaleHeight() → doubleReturns the relative scale height.
setRelativeScaleHeight(value: double)Sets the relative scale height value.
getRelativeScaleWidth() → doubleReturns the relative scale width.
setRelativeScaleWidth(value: double)Sets the relative scale width value.
isCameo() → booleanReturns true if cameo is set.
getCNvPr() → ElementReturns the {@code cNvPr} element from {@code <p:nvPicPr>/<p:cNvPr>}.
GeometryShape(xmlElement: Element, saveCallback: Runnable)Creates a GeometryShape backed by the given XML element.
GeometryShape()Creates a GeometryShape with no backing element.
setParentShapes(shapes: Iterable<IShape>)Sets the sibling shapes collection used for connection lookups.
getX() → doubleReturns the x.
setX(x: double)Sets the x value.
getY() → doubleReturns the y.
setY(y: double)Sets the y value.
getWidth() → doubleReturns the width.
setWidth(width: double)Sets the width value.
getHeight() → doubleReturns the height.
setHeight(height: double)Sets the height value.
getRotation() → doubleReturns the rotation.
setRotation(rotation: double)Sets the rotation value.
getShapeStyle() → IShapeStyleReturns the shape style.
getFillFormat() → IFillFormatReturns the fill format.
getAdjustments() → IAdjustValueCollectionReturns the adjustments.
isTextHolder() → booleanReturns true if text holder is set.
getPlaceholder() → IPlaceholderReturns the placeholder.
getCustomData() → ICustomDataReturns the custom data.
getRawFrame() → IShapeFrameReturns the raw frame.
setRawFrame(value: IShapeFrame)Sets the raw frame value.
getFrame() → IShapeFrameReturns the frame.
setFrame(value: IShapeFrame)Sets the frame value.
getLineFormat() → ILineFormatReturns the line format.
getThreeDFormat() → IThreeDFormatReturns the three d format.
getEffectFormat() → IEffectFormatReturns the effect format.
isHidden() → booleanReturns true if hidden is set.
setHidden(value: boolean)Sets the hidden value.
getZOrderPosition() → intReturns the z order position.
getConnectionSiteCount() → intReturns the connection site count.
getAlternativeText() → StringReturns the alternative text.
setAlternativeText(value: String)Sets the alternative text value.
getAlternativeTextTitle() → StringReturns the alternative text title.
setAlternativeTextTitle(value: String)Sets the alternative text title value.
getName() → StringReturns the name.
setName(value: String)Sets the name value.
isDecorative() → booleanReturns true if decorative is set.
setDecorative(value: boolean)Sets the decorative value.
getUniqueId() → intReturns the unique id.
getOfficeInteropShapeId() → intReturns the office interop shape id.
isGrouped() → booleanReturns true if grouped is set.
getAsISlideComponent() → ISlideComponentReturns the as i slide component.
getSlide() → IBaseSlideReturns the slide.
getPresentation() → IPresentationReturns the presentation.
asIPresentationComponent() → IPresentationComponentCalls asIPresentationComponent on this PictureFrame instance.

See Also

 English