OLEObject Class |
The OLEObject type exposes the following members.
| Name | Description | |
|---|---|---|
| Application | Gets the programmatic identifier (ProgID) of the OLE server application associated with the OLE object. | |
| AsIcon | Gets or sets the draw aspect of the OLE object. | |
| AutoUpdate | Gets or sets a value specifies whether the link to the OLE object is automatically updated. | |
| Id | Gets the unique identifier that identifies the OLE object. | |
| IsEmpty | Gets a value indicating whether the OLE object is empty (neither embedded nor linked). | |
| IsLinked | Gets a value indicating whether the OLE object is linked. | |
| SourceLink | Gets or sets the path and name of the source file. |
| Name | Description | |
|---|---|---|
| GetStream | Gets the stream that contains the embedded OLE object. | |
| SetEmbedded(String) | Embeds a file from the specified path as an OLE object. | |
| SetEmbedded(Stream, String, String) | Embeds binary data from the specified stream as an OLE object. | |
| SetEmbedded(String, String, String) | Embeds a file from the specified path as an OLE object. | |
| SetEmpty | Sets the OLE object to an empty state (neither embedded nor linked). | |
| SetLinked(String) | Links an external file from the specified path as a linked OLE object. | |
| SetLinked(String, String, String) | Links an external file from the specified path as a linked OLE object. |