com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class PictureFrame

    • Method Detail

      • getHeight

        public float getHeight()

        Returns or sets the height of the shape. Read/write float.


        Returned value is always defined (is not float.NaN). Assigned value must be defined (not float.NaN). You can set undefined values for RawFrame instance properties.
        Specified by:
        getHeight in interface IShape
        Overrides:
        getHeight in class Shape
      • setHeight

        public void setHeight(float value)

        Returns or sets the height of the shape. Read/write float.


        Returned value is always defined (is not float.NaN). Assigned value must be defined (not float.NaN). You can set undefined values for RawFrame instance properties.
        Specified by:
        setHeight in interface IShape
        Overrides:
        setHeight in class Shape
      • getWidth

        public float getWidth()

        Returns or sets the width of the shape. Read/write float.


        Returned value is always defined (is not float.NaN). Assigned value must be defined (not float.NaN). You can set undefined values for RawFrame instance properties.
        Specified by:
        getWidth in interface IShape
        Overrides:
        getWidth in class Shape
      • setWidth

        public void setWidth(float value)

        Returns or sets the width of the shape. Read/write float.


        Returned value is always defined (is not float.NaN). Assigned value must be defined (not float.NaN). You can set undefined values for RawFrame instance properties.
        Specified by:
        setWidth in interface IShape
        Overrides:
        setWidth in class Shape
      • 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