PictureFrame

PictureFrame class

Represents a frame with a picture inside.

getPictureFormat

NameDescription
getPictureFormat ()Returns the PictureFillFormat object for a picture frame. Read-only IPictureFillFormat.

Returns: PictureFillFormat


getPictureFrameLock

NameDescription
getPictureFrameLock ()Returns shape’s locks. Read-only IPictureFrameLock.

Returns: PictureFrameLock


getRelativeScaleHeight

NameDescription
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

NameDescription
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

NameDescription
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


setRelativeScaleHeight

NameDescription
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

NameDescription
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

NameDescription
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