|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shape
com.aspose.slides.GeometryShape
com.aspose.slides.PictureFrame
public class PictureFrame
Represents a frame with a picture inside.
Method Summary | |
---|---|
IPictureFillFormat |
getPictureFormat()
Returns the PictureFillFormat object for a picture frame. |
IPictureFrameLock |
getPictureFrameLock()
Returns shape's locks. |
float |
getRelativeScaleHeight()
Returns or sets the scale of height(relative to original picture size) of the picture frame. |
float |
getRelativeScaleWidth()
Returns or sets the scale of width (relative to original picture size) of the picture frame. |
int |
getShapeType()
|
void |
setRelativeScaleHeight(float value)
Returns or sets the scale of height(relative to original picture size) of the picture frame. |
void |
setRelativeScaleWidth(float value)
Returns or sets the scale of width (relative to original picture size) of the picture frame. |
void |
setShapeType(int value)
|
Methods inherited from class com.aspose.slides.GeometryShape |
---|
createShapeElements, getAdjustments, getShapeStyle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.aspose.slides.IGeometryShape |
---|
createShapeElements, getAdjustments, getShapeStyle |
Methods inherited from interface com.aspose.slides.ISlideComponent |
---|
getSlide |
Methods inherited from interface com.aspose.slides.IPresentationComponent |
---|
getPresentation |
Methods inherited from interface com.aspose.slides.IHyperlinkContainer |
---|
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver |
Method Detail |
---|
public IPictureFrameLock getPictureFrameLock()
Returns shape's locks.
Read-only IPictureFrameLock
.
getPictureFrameLock
in interface IPictureFrame
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/writeShapeType
.
getShapeType
in interface IGeometryShape
getShapeType
in class GeometryShape
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/writeShapeType
.
setShapeType
in interface IGeometryShape
setShapeType
in class GeometryShape
public IPictureFillFormat getPictureFormat()
Returns the PictureFillFormat object for a picture frame.
Read-only IPictureFillFormat
.
getPictureFormat
in interface IPictureFrame
public 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
.
getRelativeScaleHeight
in interface IPictureFrame
public 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
.
setRelativeScaleHeight
in interface IPictureFrame
public 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
.
getRelativeScaleWidth
in interface IPictureFrame
public 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
.
setRelativeScaleWidth
in interface IPictureFrame
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |