PictureFrame

Overview

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

Represents a frame with a picture inside.

Properties

NameTypeAccessDescription
shapeTypeShapeTypeRead{@inheritDoc}

Returns or sets the AutoShape type for a PictureFrame. | | `pictureFrameLock` | `IPictureFrameLock` | Read | {@inheritDoc}

Navigates {@code //} and creates the {@code } element if it does not exist.

/ | | `pictureFormat` | `IPictureFillFormat` | Read | {@inheritDoc}

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

/ | | `relativeScaleHeight` | `double` | Read | Gets or sets the relative height scaling factor | | `relativeScaleWidth` | `double` | Read | Gets or sets the relative width scaling factor | | `cameo` | `boolean` | Read | Indicates if the picture frame is a cameo | | `cNvPr` | `Element` | Read | Returns the {@code cNvPr} element from {@code /}. |

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 //} and creates the {@code } element if it does not exist.

/ | | `getPictureFormat()` → `IPictureFillFormat` | {@inheritDoc}

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

/ | | `getRelativeScaleHeight()` → `double` | Returns the relative height scaling factor | | `setRelativeScaleHeight(value: double)` | Sets the relative height scaling factor | | `getRelativeScaleWidth()` → `double` | Returns the relative width scaling factor | | `setRelativeScaleWidth(value: double)` | Sets the relative width scaling factor | | `isCameo()` → `boolean` | | | `getCNvPr()` → `Element` | Returns the {@code cNvPr} element from {@code /}. |

See Also