Class OleObjects
Represents the Ole objects implementation
Inheritance
System.Object
OleObjects
Implements
System.Collections.Generic.IList<IOleObject>
System.Collections.Generic.ICollection<IOleObject>
System.Collections.Generic.IEnumerable<IOleObject>
System.Collections.IEnumerable
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class OleObjects : List<IOleObject>, IOleObjects, IList<IOleObject>, ICollection<IOleObject>, IEnumerable<IOleObject>, IEnumerable
Constructors
OleObjects(WorksheetImpl)
Initializes new instance of the collection.
Declaration
public OleObjects(WorksheetImpl sheet)
Parameters
Type | Name | Description |
---|---|---|
WorksheetImpl | sheet | Parent worksheet. |
Methods
Add(OleObject)
Adds the specified OLE.
Declaration
public void Add(OleObject ole)
Parameters
Type | Name | Description |
---|---|---|
OleObject | ole | The OLE. |
Add(String, Image, OleLinkType)
Adds new ole object to the collection.
Declaration
public IOleObject Add(string fileName, Image image, OleLinkType linkType)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | File name. |
System.Drawing.Image | image | File image. |
OleLinkType | linkType | Link type. |
Returns
Type |
---|
IOleObject |
Implements
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable