ODF .NET Class Library
Show/Hide TOC

# OleObject Class

Represents objects that do not have an OpenDocument representation.

## Definition

Namespace: Independentsoft.Office.Odf.Drawing
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class OleObject : FrameContentElement

VB

    Public Class OleObject
    	Inherits FrameContentElement

Inheritance
  Object FrameContentElement OleObject

## Constructors

OleObject | Initializes a new instance of the OleObject class.
OleObject(String) | Initializes a new instance of the OleObject class.
OleObject(String, Byte) | Initializes a new instance of the OleObject class.
OleObject(String, Stream) | Initializes a new instance of the OleObject class.

## Properties

ClassId | ClassId
FileName | Contains the file name of ole object.
Filter | Contains the filter name for an ole object. This attribute contains the internal filter name that an consumer has used to load the ole objects.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetBuffer |
GetContentElements | Returns all content elements. (Overrides FrameContentElementGetContentElements)
GetHashCode | (Inherited from Object)
GetParent | Returns the parent element. (Inherited from FrameContentElement)
GetStream |
GetType | (Inherited from Object)
Load(String) |
Load(String, Byte) |
Load(String, Stream) |
MemberwiseClone | (Inherited from Object)
Save(Stream) |
Save(String) |
ToString | Converts the value of the current OleObject object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Drawing Namespace