com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class PictureFillFormat

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      float getCropBottom()
      Returns or sets the number of percents of real image height that are cropped off the bottom of the picture.
      float getCropLeft()
      Returns or sets the number of percents of real image width that are cropped off the left of the picture.
      float getCropRight()
      Returns or sets the number of percents of real image width that are cropped off the right of the picture.
      float getCropTop()
      Returns or sets the number of percents of real image height that are cropped off the top of the picture.
      int getDpi()
      Returns or sets the dpi which is used to fill a picture.
      com.aspose.slides.IDOMObject getParent_Immediate()
      Returns Parent_Immediate object.
      IPresentationComponent getParent_IPresentationComponent()
      Returns parent IPresentationComponent.
      ISlidesPicture getPicture()
      Returns the picture.
      int getPictureFillMode()
      Returns or sets the picture fill mode.
      float getStretchOffsetBottom()
      Returns or sets bottom edge of the fill rectangle that is defined by a percentage offset from the bottom edge of the shape's bounding box.
      float getStretchOffsetLeft()
      Returns or sets left edge of the fill rectangle that is defined by a percentage offset from the left edge of the shape's bounding box.
      float getStretchOffsetRight()
      Returns or sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape's bounding box.
      float getStretchOffsetTop()
      Returns or sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape's bounding box.
      long getVersion()
      Version.
      void setCropBottom(float value)
      Returns or sets the number of percents of real image height that are cropped off the bottom of the picture.
      void setCropLeft(float value)
      Returns or sets the number of percents of real image width that are cropped off the left of the picture.
      void setCropRight(float value)
      Returns or sets the number of percents of real image width that are cropped off the right of the picture.
      void setCropTop(float value)
      Returns or sets the number of percents of real image height that are cropped off the top of the picture.
      void setDpi(int value)
      Returns or sets the dpi which is used to fill a picture.
      void setPictureFillMode(int value)
      Returns or sets the picture fill mode.
      void setStretchOffsetBottom(float value)
      Returns or sets bottom edge of the fill rectangle that is defined by a percentage offset from the bottom edge of the shape's bounding box.
      void setStretchOffsetLeft(float value)
      Returns or sets left edge of the fill rectangle that is defined by a percentage offset from the left edge of the shape's bounding box.
      void setStretchOffsetRight(float value)
      Returns or sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape's bounding box.
      void setStretchOffsetTop(float value)
      Returns or sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape's bounding box.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDpi

        public final int getDpi()

        Returns or sets the dpi which is used to fill a picture. Read/write int.

        Specified by:
        getDpi in interface IPictureFillFormat
      • setDpi

        public final void setDpi(int value)

        Returns or sets the dpi which is used to fill a picture. Read/write int.

        Specified by:
        setDpi in interface IPictureFillFormat
      • getCropLeft

        public final float getCropLeft()

        Returns or sets the number of percents of real image width that are cropped off the left of the picture. Read/write float.

        Specified by:
        getCropLeft in interface IPictureFillFormat
      • setCropLeft

        public final void setCropLeft(float value)

        Returns or sets the number of percents of real image width that are cropped off the left of the picture. Read/write float.

        Specified by:
        setCropLeft in interface IPictureFillFormat
      • getCropTop

        public final float getCropTop()

        Returns or sets the number of percents of real image height that are cropped off the top of the picture. Read/write float.

        Specified by:
        getCropTop in interface IPictureFillFormat
      • setCropTop

        public final void setCropTop(float value)

        Returns or sets the number of percents of real image height that are cropped off the top of the picture. Read/write float.

        Specified by:
        setCropTop in interface IPictureFillFormat
      • getCropRight

        public final float getCropRight()

        Returns or sets the number of percents of real image width that are cropped off the right of the picture. Read/write float.

        Specified by:
        getCropRight in interface IPictureFillFormat
      • setCropRight

        public final void setCropRight(float value)

        Returns or sets the number of percents of real image width that are cropped off the right of the picture. Read/write float.

        Specified by:
        setCropRight in interface IPictureFillFormat
      • getCropBottom

        public final float getCropBottom()

        Returns or sets the number of percents of real image height that are cropped off the bottom of the picture. Read/write float.

        Specified by:
        getCropBottom in interface IPictureFillFormat
      • setCropBottom

        public final void setCropBottom(float value)

        Returns or sets the number of percents of real image height that are cropped off the bottom of the picture. Read/write float.

        Specified by:
        setCropBottom in interface IPictureFillFormat
      • getStretchOffsetLeft

        public final float getStretchOffsetLeft()

        Returns or sets left edge of the fill rectangle that is defined by a percentage offset from the left edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

        Specified by:
        getStretchOffsetLeft in interface IPictureFillFormat
      • setStretchOffsetLeft

        public final void setStretchOffsetLeft(float value)

        Returns or sets left edge of the fill rectangle that is defined by a percentage offset from the left edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

        Specified by:
        setStretchOffsetLeft in interface IPictureFillFormat
      • getStretchOffsetTop

        public final float getStretchOffsetTop()

        Returns or sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

        Specified by:
        getStretchOffsetTop in interface IPictureFillFormat
      • setStretchOffsetTop

        public final void setStretchOffsetTop(float value)

        Returns or sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

        Specified by:
        setStretchOffsetTop in interface IPictureFillFormat
      • getStretchOffsetRight

        public final float getStretchOffsetRight()

        Returns or sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

        Specified by:
        getStretchOffsetRight in interface IPictureFillFormat
      • setStretchOffsetRight

        public final void setStretchOffsetRight(float value)

        Returns or sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

        Specified by:
        setStretchOffsetRight in interface IPictureFillFormat
      • getStretchOffsetBottom

        public final float getStretchOffsetBottom()

        Returns or sets bottom edge of the fill rectangle that is defined by a percentage offset from the bottom edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

        Specified by:
        getStretchOffsetBottom in interface IPictureFillFormat
      • setStretchOffsetBottom

        public final void setStretchOffsetBottom(float value)

        Returns or sets bottom edge of the fill rectangle that is defined by a percentage offset from the bottom edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

        Specified by:
        setStretchOffsetBottom in interface IPictureFillFormat
      • getVersion

        public long getVersion()

        Version. Read-only long.

      • getParent_Immediate

        public com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.