Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    NestedShapeCollection.AddOleObjectAsIcon Method

    Name Parameters Description
    AddOleObjectAsIcon(Stream, String, DocumentImageSource, PointF) stream, progId, icon, location Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(Stream, String, DocumentImageSource, RectangleF) stream, progId, icon, bounds Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(Stream, String, Image, PointF) stream, progId, icon, location Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(Stream, String, Image, RectangleF) stream, progId, icon, bounds Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(String, DocumentImageSource, PointF) fileName, icon, location Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(String, DocumentImageSource, RectangleF) fileName, icon, bounds Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(String, Image, PointF) fileName, icon, location Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(String, Image, RectangleF) fileName, icon, bounds Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(String, String, DocumentImageSource, PointF) fileName, progId, icon, location Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(String, String, DocumentImageSource, RectangleF) fileName, progId, icon, bounds Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(String, String, Image, PointF) fileName, progId, icon, location Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.
    AddOleObjectAsIcon(String, String, Image, RectangleF) fileName, progId, icon, bounds Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon.