[]
A collection of all the IBackgroundPicture objects on the specified sheet.
public interface IBackgroundPictures : IEnumerable<IBackgroundPicture>, IEnumerable
Returns the number of objects in the collection.
int Count { get; }
Returns a single object from a collection.
IBackgroundPicture this[int index] { get; }
Returns a single object from a collection.
IBackgroundPicture this[string name] { get; }
Creates a background picture from an existing stream. Returns the IBackgroundPicture object that represents the new background picture.
IBackgroundPicture AddPicture(Stream stream, ImageType type, double left, double top, double width, double height)
stream StreamThe stream from which the object is to be created.
type ImageTypeSpecifies the type of background picture to create.
left doubleThe position (in points) of the upper-left corner of the destination rectangle relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the destination rectangle relative to the top of the document.
width doubleThe width of the destination rectangle, in points.
height doubleThe height of the destination rectangle, in points.
The IBackgroundPictureThe object.
Creates a background picture from an existing file. Returns the IBackgroundPicture object that represents the new background picture.
IBackgroundPicture AddPicture(string filename, double left, double top, double width, double height)
filename stringThe file from which the object is to be created
left doubleThe position (in points) of the upper-left corner of the destination rectangle relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the destination rectangle relative to the top of the document.
width doubleThe width of the destination rectangle, in points.
height doubleThe height of the destination rectangle, in points.
The IBackgroundPictureThe object.
Creates a background picture from an existing stream. Returns the IBackgroundPicture object that represents the new background picture.
IBackgroundPicture AddPictureInPixel(Stream stream, ImageType type, double left, double top, double width, double height)
stream StreamThe stream from which the object is to be created.
type ImageTypeSpecifies the type of background picture to create.
left doubleThe position (in pixels) of the upper-left corner of the destination rectangle relative to the upper-left corner of the document.
top doubleThe position (in pixels) of the upper-left corner of the destination rectangle relative to the top of the document.
width doubleThe width of destination rectangle, in pixels.
height doubleThe height of destination rectangle, in pixels.
The IBackgroundPicture object.
Creates a background picture from an existing file. Returns the IBackgroundPicture object that represents the new background picture.
IBackgroundPicture AddPictureInPixel(string filename, double left, double top, double width, double height)
filename stringThe file from which the object is to be created
left doubleThe position (in pixels) of the upper-left corner of the destination rectangle relative to the upper-left corner of the document.
top doubleThe position (in pixels) of the upper-left corner of the destination rectangle relative to the top of the document.
width doubleThe width of destination rectangle, in pixels.
height doubleThe height of destination rectangle, in pixels.
The IBackgroundPicture object.