IPictureFrame

All Implemented Interfaces: com.aspose.slides.IGeometryShape

public interface IPictureFrame extends IGeometryShape

Represents a frame with a picture inside.

Methods

MethodDescription
getPictureFrameLock()Returns PictureFrame’s locks.
getPictureFormat()Returns the PictureFillFormat object for a picture frame.
getRelativeScaleHeight()Returns or sets the scale of height(relative to original picture size) of the picture frame.
setRelativeScaleHeight(float value)Returns or sets the scale of height(relative to original picture size) of the picture frame.
getRelativeScaleWidth()Returns or sets the scale of width (relative to original picture size) of the picture frame.
setRelativeScaleWidth(float value)Returns or sets the scale of width (relative to original picture size) of the picture frame.

getPictureFrameLock()

public abstract IPictureFrameLock getPictureFrameLock()

Returns PictureFrame’s locks. Read-only IPictureFrameLock.

Returns: IPictureFrameLock

getPictureFormat()

public abstract IPictureFillFormat getPictureFormat()

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

Returns: IPictureFillFormat

getRelativeScaleHeight()

public abstract 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.

Returns: float

setRelativeScaleHeight(float value)

public abstract 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.

Parameters:

ParameterTypeDescription
valuefloat

getRelativeScaleWidth()

public abstract 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.

Returns: float

setRelativeScaleWidth(float value)

public abstract 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.

Parameters:

ParameterTypeDescription
valuefloat