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

All Superinterfaces:
IClone, IReportObject
All Known Subinterfaces:
IBlobFieldObject, IPictureObject
All Known Implementing Classes:
BlobFieldObject, GraphicObject, PictureObject

public interface IGraphicObject
extends IReportObject

This interface is used to set the properties of the graphic for your report object. You cannot add an IGraphicObject to the report. RAS currently only supports adding IBlobFieldObject object(s) to a report. Note that you can only copy an IPictureObject object from one report to another; you cannot add an IPictureObject object from a file.


Method Summary
 int getOriginalHeight()
           Returns the original height of the graphic.
 int getOriginalWidth()
           Returns the original width of the graphic.
 IPictureFormat getPictureFormat()
           Returns the format of the graphic.
 double getXscaling()
           Returns the horizontal scaling of the graphic.
 double getYscaling()
           Returns the vertical scaling of the graphic.
 void setOriginalHeight(int height)
           Sets the original height of the graphic.
 void setOriginalWidth(int width)
           Sets the original width of the graphic.
 void setPictureFormat(IPictureFormat pictureFormat)
           Sets the format of the graphic.
 
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

getPictureFormat

IPictureFormat getPictureFormat()

Returns the format of the graphic.

Returns:
an IPictureFormat object that specifies the format of the graphic.

setPictureFormat

void setPictureFormat(IPictureFormat pictureFormat)

Sets the format of the graphic.

Parameters:
pictureFormat - a IPictureFormat object that specifies the format of the graphic.

getXscaling

double getXscaling()

Returns the horizontal scaling of the graphic.

Returns:
A double that specifies the horizontal scaling of the graphic.

getYscaling

double getYscaling()

Returns the vertical scaling of the graphic.

Returns:
A double that specifies the vertical scaling of the graphic.

getOriginalHeight

int getOriginalHeight()

Returns the original height of the graphic.

Returns:
An int that specifies the original height of the graphic.

getOriginalWidth

int getOriginalWidth()

Returns the original width of the graphic.

Returns:
An int that specifies the original width of the graphic.

setOriginalHeight

void setOriginalHeight(int height)

Sets the original height of the graphic.

Parameters:
height - An int that specifies the original height of the graphic.

setOriginalWidth

void setOriginalWidth(int width)

Sets the original width of the graphic.

Parameters:
width - An int that specifies the original width of the graphic.