public class PictureFrame extends GeometryShape implements IPictureFrame
Represents a frame with a picture inside.
Modifier and Type | Method and Description |
---|---|
IPictureFillFormat |
getPictureFormat()
Returns the PictureFillFormat object for a picture frame.
|
IPictureFrameLock |
getPictureFrameLock()
Returns shape's locks.
|
float |
getRelativeScaleHeight()
Returns or sets the scale of height(relative to original picture size) of the picture frame.
|
float |
getRelativeScaleWidth()
Returns or sets the scale of width (relative to original picture size) of the picture frame.
|
int |
getShapeType() |
void |
setRelativeScaleHeight(float value)
Returns or sets the scale of height(relative to original picture size) of the picture frame.
|
void |
setRelativeScaleWidth(float value)
Returns or sets the scale of width (relative to original picture size) of the picture frame.
|
void |
setShapeType(int value) |
createShapeElements, getAdjustments, getShapeStyle
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createShapeElements, getAdjustments, getShapeStyle
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
getSlide
getPresentation
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
public final IPictureFrameLock getPictureFrameLock()
Returns shape's locks.
Read-only IPictureFrameLock
.
getPictureFrameLock
in interface IPictureFrame
public int getShapeType()
Returns or sets the AutoShape type for a PictureFrame.
There are allowable all items of the set ShapeType
,
except all sorts of lines:
ShapeType.Line,
ShapeType.StraightConnector1,
ShapeType.BentConnector2,
ShapeType.BentConnector3,
ShapeType.BentConnector4,
ShapeType.BentConnector5,
ShapeType.CurvedConnector2,
ShapeType.CurvedConnector3,
ShapeType.CurvedConnector4,
ShapeType.CurvedConnector5.
Read/writeShapeType
.
getShapeType
in interface IGeometryShape
getShapeType
in class GeometryShape
public void setShapeType(int value)
Returns or sets the AutoShape type for a PictureFrame.
There are allowable all items of the set ShapeType
,
except all sorts of lines:
ShapeType.Line,
ShapeType.StraightConnector1,
ShapeType.BentConnector2,
ShapeType.BentConnector3,
ShapeType.BentConnector4,
ShapeType.BentConnector5,
ShapeType.CurvedConnector2,
ShapeType.CurvedConnector3,
ShapeType.CurvedConnector4,
ShapeType.CurvedConnector5.
Read/writeShapeType
.
setShapeType
in interface IGeometryShape
setShapeType
in class GeometryShape
public final IPictureFillFormat getPictureFormat()
Returns the PictureFillFormat object for a picture frame.
Read-only IPictureFillFormat
.
getPictureFormat
in interface IPictureFrame
public final float getRelativeScaleHeight()
Returns or sets the scale of height(relative to original picture size) of the picture frame. Value 1.0 corresponds to 100%.
Read/write float
.
getRelativeScaleHeight
in interface IPictureFrame
public final void setRelativeScaleHeight(float value)
Returns or sets the scale of height(relative to original picture size) of the picture frame. Value 1.0 corresponds to 100%.
Read/write float
.
setRelativeScaleHeight
in interface IPictureFrame
public final float getRelativeScaleWidth()
Returns or sets the scale of width (relative to original picture size) of the picture frame. Value 1.0 corresponds to 100%.
Read/write float
.
getRelativeScaleWidth
in interface IPictureFrame
public final void setRelativeScaleWidth(float value)
Returns or sets the scale of width (relative to original picture size) of the picture frame. Value 1.0 corresponds to 100%.
Read/write float
.
setRelativeScaleWidth
in interface IPictureFrame