Class PicturesCollection
- Namespace
- Spire.Xls.Collections
- Assembly
- Spire.XLS.dll
public class PicturesCollection : XlsPicturesCollection, IList<IPictureShape>, ICollection<IPictureShape>, IEnumerable<IPictureShape>, ICloneParent, IPictures, IExcelApplication, IEnumerable, IDisposable
- Inheritance
-
PicturesCollection
- Implements
- Inherited Members
Properties
this[int]
public ExcelPicture this[int Index] { get; }
Parameters
Index
int
Property Value
Methods
Add(Stream, string)
Adds picture to the collection.
public ExcelPicture Add(Stream image, string pictureName)
Parameters
Returns
- ExcelPicture
Added picture.
Add(Stream, string, ImageFormatType)
public ExcelPicture Add(Stream image, string pictureName, ImageFormatType imageFormat)
Parameters
image
StreampictureName
stringimageFormat
ImageFormatType
Returns
Add(int, int, SKBitmap)
public ExcelPicture Add(int topRow, int leftColumn, SKBitmap image)
Parameters
Returns
Add(int, int, SKBitmap, ImageFormatType)
public ExcelPicture Add(int topRow, int leftColumn, SKBitmap image, ImageFormatType imageFormat)
Parameters
topRow
intleftColumn
intimage
SKBitmapimageFormat
ImageFormatType
Returns
Add(int, int, Stream)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, Stream stream)
Parameters
Returns
- ExcelPicture
Added picture.
Add(int, int, Stream, ImageFormatType)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, Stream stream, ImageFormatType imageFormat)
Parameters
topRow
intTop row of a new picture.
leftColumn
intLeft column.
stream
StreamStream with the picture.
imageFormat
ImageFormatTypeImage format.
Returns
- ExcelPicture
Added picture.
Add(int, int, Stream, int, int)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, Stream stream, int scaleWidth, int scaleHeight)
Parameters
topRow
intTop row of a new picture.
leftColumn
intLeft column.
stream
StreamStream with the picture.
scaleWidth
intWidth scale in percents.
scaleHeight
intHeight scale in percents.
Returns
- ExcelPicture
Added picture.
Add(int, int, Stream, int, int, ImageFormatType)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, Stream stream, int scaleWidth, int scaleHeight, ImageFormatType imageFormat)
Parameters
topRow
intTop row of a new picture.
leftColumn
intLeft column.
stream
StreamStream with the picture.
scaleWidth
intWidth scale in percents.
scaleHeight
intHeight scale in percents.
imageFormat
ImageFormatTypeImage format.
Returns
- ExcelPicture
Added picture.
Add(int, int, int, int, Stream)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, int bottomRow, int rightColumn, Stream stream)
Parameters
topRow
intTop row of a new picture.
leftColumn
intLeft column.
bottomRow
intBottom row.
rightColumn
intRight column.
stream
StreamStream.
Returns
- ExcelPicture
Added picture.
Add(int, int, int, int, Stream, ImageFormatType)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, int bottomRow, int rightColumn, Stream stream, ImageFormatType imageFormat)
Parameters
topRow
intTop row of a new picture.
leftColumn
intLeft column.
bottomRow
intBottom row.
rightColumn
intRight column.
stream
StreamStream with the picture.
imageFormat
ImageFormatTypeImage format.
Returns
- ExcelPicture
Added picture.
Add(int, int, int, int, string)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, int bottomRow, int rightColumn, string fileName)
Parameters
topRow
intTop row of a new picture.
leftColumn
intLeft column.
bottomRow
intBottom row.
rightColumn
intRight column.
fileName
stringFile name.
Returns
- ExcelPicture
Added picture.
Add(int, int, int, int, string, ImageFormatType)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, int bottomRow, int rightColumn, string fileName, ImageFormatType imageFormat)
Parameters
topRow
intTop row of a new picture.
leftColumn
intLeft column.
bottomRow
intBottom row.
rightColumn
intRight column.
fileName
stringFile name.
imageFormat
ImageFormatTypeImage format.
Returns
- ExcelPicture
Added picture.
Add(int, int, string)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, string fileName)
Parameters
Returns
- ExcelPicture
Added picture.
Add(int, int, string, ImageFormatType)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, string fileName, ImageFormatType imageFormat)
Parameters
topRow
intTop row of a new picture.
leftColumn
intLeft column.
fileName
stringFile name.
imageFormat
ImageFormatTypeImage format.
Returns
- ExcelPicture
Added picture.
Add(int, int, string, int, int)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, string fileName, int scaleWidth, int scaleHeight)
Parameters
topRow
intTop row of a new picture.
leftColumn
intLeft column.
fileName
stringFile name.
scaleWidth
intWidth scale in percents.
scaleHeight
intHeight scale in percents.
Returns
- ExcelPicture
Added picture.
Add(int, int, string, int, int, ImageFormatType)
Adds image to the collection.
public ExcelPicture Add(int topRow, int leftColumn, string fileName, int scaleWidth, int scaleHeight, ImageFormatType imageFormat)
Parameters
topRow
intTop row of a new picture.
leftColumn
intLeft column.
fileName
stringName of the shape.
scaleWidth
intWidth scale in percents.
scaleHeight
intHeight scale in percents.
imageFormat
ImageFormatTypeImage format to use for picture storing.
Returns
- ExcelPicture
Added picture.
Add(string)
Adds picture from the specified file.
public ExcelPicture Add(string fileName)
Parameters
fileName
stringFile name.
Returns
- ExcelPicture
Added picture.
Add(string, ImageFormatType)
Adds picture from the specified file.
public ExcelPicture Add(string fileName, ImageFormatType imageFormat)
Parameters
fileName
stringimageFormat
ImageFormatTypeImage format.
Returns
- ExcelPicture
Added picture.
AddLinkPic(int, int, int, int, string)
public ExcelPicture AddLinkPic(int topRow, int leftColumn, int height, int width, string linktarget)