PictureFrame
PictureFrame class
Represents a frame with a picture inside.
getPictureFormat
| Name | Description |
|---|---|
| getPictureFormat () | Returns the PictureFillFormat object for a picture frame. Read-only IPictureFillFormat. |
Returns: PictureFillFormat
getPictureFrameLock
| Name | Description |
|---|---|
| getPictureFrameLock () | Returns shape’s locks. Read-only IPictureFrameLock. |
Returns: PictureFrameLock
getRelativeScaleHeight
| Name | Description |
|---|---|
| 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. |
Returns: float
getRelativeScaleWidth
| Name | Description |
|---|---|
| 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. |
Returns: float
getShapeType
| Name | Description |
|---|---|
| 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/write ShapeType. |
Returns: int
isCameo
| Name | Description |
|---|---|
| isCameo () | Determines whether the PictureFrame is Cameo object or not. Read only boolean. |
Returns: boolean
setRelativeScaleHeight
| Name | Description |
|---|---|
| setRelativeScaleHeight (float) | 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. |
Returns: void
setRelativeScaleWidth
| Name | Description |
|---|---|
| setRelativeScaleWidth (float) | 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. |
Returns: void
setShapeType
| Name | Description |
|---|---|
| setShapeType (int) | 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/write ShapeType. |
Returns: void