com.aspose.slides
Class PictureFrame

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.GeometryShape
          extended by com.aspose.slides.PictureFrame
All Implemented Interfaces:
IGeometryShape, IHyperlinkContainer, IPictureFrame, IPresentationComponent, IShape, ISlideComponent
Direct Known Subclasses:
AudioFrame, VideoFrame

public class PictureFrame
extends GeometryShape
implements IPictureFrame

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 com.aspose.slides.Shape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHLinkClick, getHLinkMouseOver, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getTags, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setBlackWhiteMode, setFrame, setHeight, setHidden, setHLinkClick, setHLinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY
 
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, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setBlackWhiteMode, 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

getPictureFrameLock

public IPictureFrameLock getPictureFrameLock()

Returns shape's locks. Read-only IPictureFrameLock.

Specified by:
getPictureFrameLock in interface IPictureFrame

getShapeType

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.

Specified by:
getShapeType in interface IGeometryShape
Overrides:
getShapeType in class GeometryShape

setShapeType

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/write ShapeType.

Specified by:
setShapeType in interface IGeometryShape
Overrides:
setShapeType in class GeometryShape

getPictureFormat

public IPictureFillFormat getPictureFormat()

Returns the PictureFillFormat object for a picture frame. Read-only IPictureFillFormat.

Specified by:
getPictureFormat in interface IPictureFrame

getRelativeScaleHeight

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.

Specified by:
getRelativeScaleHeight in interface IPictureFrame

setRelativeScaleHeight

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.

Specified by:
setRelativeScaleHeight in interface IPictureFrame

getRelativeScaleWidth

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.

Specified by:
getRelativeScaleWidth in interface IPictureFrame

setRelativeScaleWidth

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.

Specified by:
setRelativeScaleWidth in interface IPictureFrame


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.