public interface IBackgroundPictures extends java.lang.Iterable<IBackgroundPicture>
IBackgroundPicture objects on the specified sheet.| Modifier and Type | Method and Description |
|---|---|
IBackgroundPicture |
addPicture(java.io.InputStream stream,
ImageType type,
double left,
double top,
double width,
double height)
Creates a background picture from an existing stream.
|
IBackgroundPicture |
addPicture(java.lang.String filename,
double left,
double top,
double width,
double height)
Creates a background picture from an existing file.
|
IBackgroundPicture |
addPictureInPixel(java.io.InputStream stream,
ImageType type,
double left,
double top,
double width,
double height)
Creates a background picture from an existing stream.
|
IBackgroundPicture |
addPictureInPixel(java.lang.String filename,
double left,
double top,
double width,
double height)
Creates a background picture from an existing file.
|
IBackgroundPicture |
get(int index)
Returns a single object from a collection.
|
IBackgroundPicture |
get(java.lang.String name)
Returns a single object from a collection.
|
int |
getCount()
Returns the number of objects in the collection.
|
IBackgroundPicture get(int index)
index - Required int. The index number for the object.IBackgroundPicture get(java.lang.String name)
name - Required string. The name for the object.int getCount()
IBackgroundPicture addPicture(java.lang.String filename, double left, double top, double width, double height) throws java.io.IOException
IBackgroundPicture object
that represents the new background picture.filename - The file from which the object is to be createdleft - The position (in points) of the upper-left corner of the destination rectangle
relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the destination rectangle
relative to the top of the document.width - The width of the destination rectangle, in points.height - The height of the destination rectangle, in points.IBackgroundPictureThe object.java.io.IOExceptionIBackgroundPicture addPicture(java.io.InputStream stream, ImageType type, double left, double top, double width, double height) throws java.io.IOException
IBackgroundPicture object
that represents the new background picture.stream - The stream from which the object is to be created.type - Specifies the type of background picture to create.left - The position (in points) of the upper-left corner of the destination rectangle
relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the destination rectangle
relative to the top of the document.width - The width of the destination rectangle, in points.height - The height of the destination rectangle, in points.IBackgroundPictureThe object.java.io.IOExceptionIBackgroundPicture addPictureInPixel(java.lang.String filename, double left, double top, double width, double height) throws java.io.IOException
IBackgroundPicture object
that represents the new background picture.filename - The file from which the object is to be createdleft - The position (in pixels) of the upper-left corner of the destination rectangle
relative to the upper-left corner of the document.top - The position (in pixels) of the upper-left corner of the destination rectangle
relative to the top of the document.width - The width of the destination rectangle, in pixels.height - The height of the destination rectangle, in pixels.IBackgroundPicture object.java.io.IOExceptionIBackgroundPicture addPictureInPixel(java.io.InputStream stream, ImageType type, double left, double top, double width, double height) throws java.io.IOException
IBackgroundPicture object
that represents the new background picture.stream - The stream from which the object is to be created.type - Specifies the type of picture to create.left - The position (in points) of the upper-left corner of the destination rectangle
relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the destination rectangle
relative to the top of the document.width - The width of the destination rectangle, in points.height - The height of the destination rectangle, in points.IShape object.java.io.IOException