Class PictureCollection
Inheritance
PictureCollection
Assembly: DRIT.Spreadsheet.dll
Syntax
public class PictureCollection : IEnumerable<PictureShape>, IEnumerable
Properties
Count
Gets the number of pictures on the worksheet.
Declaration
public int Count { get; }
Property Value
this[int]
Gets the picture at the specified index.
Declaration
public PictureShape this[int index] { get; }
Parameters
| Type |
Name |
Description |
| int |
index |
|
Property Value
Methods
Add(string, string)
Adds a picture from a file, anchored at the specified cell with
the image's natural size.
Declaration
public PictureShape Add(string filePath, string anchorCell)
Parameters
Returns
Add(string, string, Position, Size)
Adds a picture from a file with explicit offset and size.
Declaration
public PictureShape Add(string filePath, string anchorCell, Position cellOffset, Size size)
Parameters
Returns
GetEnumerator()
Returns an enumerator that iterates through the pictures.
Declaration
public IEnumerator<PictureShape> GetEnumerator()
Returns
Implements