|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPictureFrame
Represents standard PictureFrame's properties.
Method Summary | |
---|---|
int |
getBrightness()
Returns the brightness (0-100%) of a picture. |
int |
getColorType()
Returns the type of color transformation applied to a picture. |
int |
getContrast()
Returns the contrast (0-100%) of a picture. |
float |
getCropBottom()
Returns the number of percents of real image height that are cropped off from the bottom of the picture. |
float |
getCropLeft()
Returns the number of percents of real image width that are cropped off from the left of the picture. |
float |
getCropRight()
Returns the number of percents of real image width that are cropped off from the right of the picture. |
float |
getCropTop()
Returns the number of percents of real image height that are cropped off from the top of the picture. |
java.lang.String |
getPictureFileName()
Returns the file name of a linked picture. |
int |
getPictureId()
Returns the picture Id for a PictureFrame. |
RecolorTable |
getRecolor()
Returns the table of colors replacements for recoloring metafiles. |
java.awt.Color |
getTransparentColor()
Returns the transparent color of a picture. |
boolean |
isPictureLinked()
Determines whether the picture is linked to external file. |
void |
setBrightness(int value)
Sets the brightness (0-100%) of a picture. |
void |
setColorType(int value)
Sets the type of color transformation applied to a picture. |
void |
setContrast(int value)
Sets the contrast (0-100%) of a picture. |
void |
setCropBottom(float value)
Sets the number of percents of real image height that are cropped off from the bottom of the picture. |
void |
setCropLeft(float value)
Sets the number of percents of real image width that are cropped off from the left of the picture. |
void |
setCropRight(float value)
Sets the number of percents of real image width that are cropped off from the right of the picture. |
void |
setCropTop(float value)
Sets the number of percents of real image height that are cropped off from the top of the picture. |
void |
setPictureFileName(java.lang.String value)
Sets the file name of a linked picture. |
void |
setPictureId(int value)
Sets the picture Id for a PictureFrame. |
void |
setTransparentColor(java.awt.Color value)
sets the transparent color of a picture. |
Method Detail |
---|
float getCropTop()
void setCropTop(float value)
value
- the percents of image height cropped from top.float getCropBottom()
void setCropBottom(float value)
value
- the percents of image height cropped from bottom.float getCropLeft()
void setCropLeft(float value)
value
- the percents of image width cropped from left.float getCropRight()
void setCropRight(float value)
value
- the percents of image width cropped from right.java.awt.Color getTransparentColor()
Color
.void setTransparentColor(java.awt.Color value)
value
- the transparent color of a picture. See Color
.int getBrightness()
void setBrightness(int value) throws PptPropertyException
value
- the brightness (0-100%) of a picture.
PptPropertyException
int getContrast()
void setContrast(int value) throws PptPropertyException
value
- the contrast (0-100%) of a picture.
PptPropertyException
int getColorType()
PictureColorType
.void setColorType(int value)
value
- the type of color transformation applied to a picture. See
PictureColorType
.RecolorTable getRecolor()
RecolorTable
.int getPictureId()
void setPictureId(int value)
value
- the picture Id.boolean isPictureLinked()
java.lang.String getPictureFileName()
void setPictureFileName(java.lang.String value)
value
- the file name of a linked picture.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |