com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class PictureFrame

    • Method Detail

      • getShapeType

        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/write ShapeType.
        Specified by:
        getShapeType in interface IGeometryShape
        Overrides:
        getShapeType in class GeometryShape
      • setShapeType

        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/write ShapeType.
        Specified by:
        setShapeType in interface IGeometryShape
        Overrides:
        setShapeType in class GeometryShape
      • getRelativeScaleHeight

        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.

        Specified by:
        getRelativeScaleHeight in interface IPictureFrame
      • setRelativeScaleHeight

        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.

        Specified by:
        setRelativeScaleHeight in interface IPictureFrame
      • getRelativeScaleWidth

        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.

        Specified by:
        getRelativeScaleWidth in interface IPictureFrame
      • setRelativeScaleWidth

        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.

        Specified by:
        setRelativeScaleWidth in interface IPictureFrame