Click or drag to resize

OLEObject Class

Represents an OLE object.
Inheritance Hierarchy
SystemObject
  SautinSoft.DocumentOLEObject

Namespace: SautinSoft.Document
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2026.8.27
Syntax
public sealed class OLEObject

The OLEObject type exposes the following members.

Properties
 NameDescription
Public propertyApplication Gets the programmatic identifier (ProgID) of the OLE server application associated with the OLE object.
Public propertyAsIcon Gets or sets the draw aspect of the OLE object.
Public propertyAutoUpdate Gets or sets a value specifies whether the link to the OLE object is automatically updated.
Public propertyId Gets the unique identifier that identifies the OLE object.
Public propertyIsEmpty Gets a value indicating whether the OLE object is empty (neither embedded nor linked).
Public propertyIsLinked Gets a value indicating whether the OLE object is linked.
Public propertySourceLink Gets or sets the path and name of the source file.
Top
Methods
 NameDescription
Public methodGetStream Gets the stream that contains the embedded OLE object.
Public methodSetEmbedded(String) Embeds a file from the specified path as an OLE object.
Public methodSetEmbedded(Stream, String, String) Embeds binary data from the specified stream as an OLE object.
Public methodSetEmbedded(String, String, String) Embeds a file from the specified path as an OLE object.
Public methodSetEmpty Sets the OLE object to an empty state (neither embedded nor linked).
Public methodSetLinked(String) Links an external file from the specified path as a linked OLE object.
Public methodSetLinked(String, String, String) Links an external file from the specified path as a linked OLE object.
Top
See Also