menu

Document Processing

OleObjects Class - C# Excel Library API Reference | Syncfusion

    Show / Hide Table of Contents

    OleObjects Class

    Represents the Ole objects implementation

    Inheritance
    System.Object
    OleObjects
    Implements
    IOleObjects
    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

    IOleObjects
    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved