Class ImageCollection
Represents a collection of notes.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class ImageCollection : FilteredShapeCollection<FloatingImage>, IEnumerable<FloatingImage>, IEnumerable
Constructors
ImageCollection(Worksheet)
Initializes a new instance of the ImageCollection class.
Declaration
public ImageCollection(Worksheet worksheet)
Parameters
Worksheet
worksheet
The worksheet. |
Properties
ShapeType
Gets the type of the shape.
Declaration
public override FloatingShapeType ShapeType { get; }
Property Value
FloatingShapeType
|
Overrides
Methods
Add(CellIndex, Double, Double, ImageSource)
Creates and adds a floating image to the collection.
Declaration
public FloatingImage Add(CellIndex cellIndex, double offsetX, double offsetY, ImageSource imageSource)
Parameters
CellIndex
cellIndex
The cell index where the top left corner of the shape is positioned. |
System.Double
offsetX
The left offset of the top left corner of the shape relative to the top left corner of the cell index. |
System.Double
offsetY
The top offset of the top left corner of the shape relative to the top left corner of the cell index. |
ImageSource
imageSource
The image source. |
Returns
FloatingImage
The result image shape. |