com.crystaldecisions.sdk.occa.report.definition
Interface IPictureObject

All Superinterfaces:
IClone, IGraphicObject, IReportObject
All Known Implementing Classes:
PictureObject

public interface IPictureObject
extends IGraphicObject

This interface is used to specify the particular graphic you wish to copy or modify in your report object.


Method Summary
 IConditionFormula getGraphicLocationFormula()
           Returns the formula for the graphic location.
 IByteArray getPictureData()
           Returns the picture.
 PictureType getPictureType()
           Returns the file format of the picture.
 void setGraphicLocationFormula(IConditionFormula locationFormula)
           Sets the formula for the graphic location.
 void setPictureData(IByteArray pictureData)
           Sets the picture.
 void setPictureType(PictureType pictureType)
           Sets the file format of the picture.
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IGraphicObject
getOriginalHeight, getOriginalWidth, getPictureFormat, getXscaling, getYscaling, setOriginalHeight, setOriginalWidth, setPictureFormat
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IReportObject
getBorder, getBorderMargins, getFormat, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getWidth, setBorder, setFormat, setHeight, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, setTop, setWidth
 

Method Detail

getPictureType

PictureType getPictureType()

Returns the file format of the picture.

Returns:
A PictureType object that specifies the file format of the picture.

getPictureData

IByteArray getPictureData()

Returns the picture.

Returns:
An IByteArray containing the picture.

setPictureType

void setPictureType(PictureType pictureType)

Sets the file format of the picture.

Parameters:
pictureType - A PictureType object that specifies the file format of the picture.

setPictureData

void setPictureData(IByteArray pictureData)

Sets the picture.

Parameters:
pictureData - An IByteArray containing the picture.

getGraphicLocationFormula

IConditionFormula getGraphicLocationFormula()

Returns the formula for the graphic location.

Returns:
A IConditionFormula object that specifies the formula for the graphic location.

setGraphicLocationFormula

void setGraphicLocationFormula(IConditionFormula locationFormula)

Sets the formula for the graphic location.

Parameters:
locationFormula - An IConditionFormula that specifies the formula for the graphic location.