|
||||||||
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 | |
---|---|
IGeometryShape |
getAsIGeometryShape()
|
IPictureFillFormat |
getPictureFormat()
Returns the PictureFillFormat object for a picture frame. |
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. |
IPictureFrameLock |
getShapeLock()
Returns shape's locks. |
int |
getShapeType()
|
void |
setRelativeScaleHeight(float value)
|
void |
setRelativeScaleWidth(float value)
|
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.IShape |
---|
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getParentGroup, getPlaceholder, getRawFrame, getRotation, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY |
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 getShapeLock()
Returns shape's locks.
Readonly PictureFrameLock
.
getShapeLock
in interface IPictureFrame
getShapeLock
in interface IShape
getShapeLock
in class Shape
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
.
getShapeType
in interface IGeometryShape
getShapeType
in class GeometryShape
public void setShapeType(int value)
setShapeType
in interface IGeometryShape
setShapeType
in class GeometryShape
public IPictureFillFormat getPictureFormat()
Returns the PictureFillFormat object for a picture frame.
Read-only PictureFillFormat
.
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%.
getRelativeScaleHeight
in interface IPictureFrame
public void setRelativeScaleHeight(float value)
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%.
getRelativeScaleWidth
in interface IPictureFrame
public void setRelativeScaleWidth(float value)
setRelativeScaleWidth
in interface IPictureFrame
public IGeometryShape getAsIGeometryShape()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |