com.aspose.slides
Class PictureFillFormat

java.lang.Object
  extended by com.aspose.slides.PictureFillFormat
All Implemented Interfaces:
IFillParamSource, IPictureFillFormat, IPresentationComponent, ISlideComponent

public class PictureFillFormat
extends java.lang.Object
implements IPictureFillFormat

Represents a picture fill style.


Method Summary
 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.
 ISlidesPicture getPicture()
           Returns the picture.
 int getPictureFillMode()
           Returns or sets the picture fill mode.
 IPresentation getPresentation()
           Returns the parent presentation of a picture.
 IBaseSlide getSlide()
           Returns the parent slide of a picture.
 void setCropBottom(float value)
           
 void setCropLeft(float value)
           
 void setCropRight(float value)
           
 void setCropTop(float value)
           
 void setDpi(int value)
           
 void setPictureFillMode(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDpi

public 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 void setDpi(int value)
Specified by:
setDpi in interface IPictureFillFormat

getPictureFillMode

public int getPictureFillMode()

Returns or sets the picture fill mode. Read/write PictureFillMode.

Specified by:
getPictureFillMode in interface IPictureFillFormat

setPictureFillMode

public void setPictureFillMode(int value)
Specified by:
setPictureFillMode in interface IPictureFillFormat

getPicture

public ISlidesPicture getPicture()

Returns the picture. Readonly Picture

Specified by:
getPicture in interface IPictureFillFormat

getCropLeft

public 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 void setCropLeft(float value)
Specified by:
setCropLeft in interface IPictureFillFormat

getCropTop

public 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 void setCropTop(float value)
Specified by:
setCropTop in interface IPictureFillFormat

getCropRight

public 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 void setCropRight(float value)
Specified by:
setCropRight in interface IPictureFillFormat

getCropBottom

public 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 void setCropBottom(float value)
Specified by:
setCropBottom in interface IPictureFillFormat

getSlide

public IBaseSlide getSlide()

Returns the parent slide of a picture. Read-only BaseSlide.

Specified by:
getSlide in interface ISlideComponent

getPresentation

public IPresentation getPresentation()

Returns the parent presentation of a picture. Read-only Presentation.

Specified by:
getPresentation in interface IPresentationComponent