Package com.grapecity.documents.excel
Interface IGraphic
public interface IGraphic
Represents the picture field included in the specified header or footer.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the path to the location where the specified source object was saved.doubleReturns a Single value that represents the height, in points, of the object.booleanTrue if the specified shape retains its original proportions when you resize it.doublegetWidth()Returns a Single value that represents the width, in points, of the object.voidsetFilename(String value) Sets the path to the location where the specified source object was saved.voidsetGraphicStream(InputStream stream, ImageType imageType) Sets theInputStreamto the location where the specified source object wassaved.voidsetHeight(double value) Sets a Single value that represents the height, in points, of the object.voidsetLockAspectRatio(boolean value) True if the specified shape retains its original proportions when you resize it.voidsetWidth(double value) Sets a Single value that represents the width, in points, of the object.
-
Method Details
-
getFilename
String getFilename()Returns the path to the location where the specified source object was saved. -
setFilename
Sets the path to the location where the specified source object was saved.- Throws:
FileNotFoundException
-
setGraphicStream
Sets theInputStreamto the location where the specified source object wassaved. -
getHeight
double getHeight()Returns a Single value that represents the height, in points, of the object. -
setHeight
void setHeight(double value) Sets a Single value that represents the height, in points, of the object. -
getWidth
double getWidth()Returns a Single value that represents the width, in points, of the object. -
setWidth
void setWidth(double value) Sets a Single value that represents the width, in points, of the object. -
getLockAspectRatio
boolean getLockAspectRatio()True if the specified shape retains its original proportions when you resize it. False if you can change the height and width of the shape independently of one another when you resize it. -
setLockAspectRatio
void setLockAspectRatio(boolean value) True if the specified shape retains its original proportions when you resize it. False if you can change the height and width of the shape independently of one another when you resize it.
-