# ObjectBase

## Content

# Class: ObjectBase

Represents the base class for other DsPdf objects.

## Extended by

- [`BilevelBitmap`](BilevelBitmap)
- [`Bitmap`](Bitmap)
- [`Brush`](Brush)
- [`DrawingContext`](DrawingContext)
- [`Font`](Font)
- [`FontCollection`](FontCollection)
- [`Format`](Format)
- [`GraphicsPath`](GraphicsPath)
- [`GrayscaleBitmap`](GrayscaleBitmap)
- [`Image`](Image)
- [`Layout`](Layout)
- [`Pen`](Pen)
- [`SplitOptions`](SplitOptions)
- [`SvgDocument`](SvgDocument)
- [`Transform`](Transform)
- [`PdfDocument`](PdfDocument)
- [`PdfPage`](PdfPage)
- [`Security`](Security)
- [`PdfSignature`](PdfSignature)
- [`SecurityHandlerBase`](SecurityHandlerBase)
- [`DocumentSecurityStore`](DocumentSecurityStore)
- [`DefaultAppearance`](DefaultAppearance)
- [`Border`](Border)
- [`BorderEffect`](BorderEffect)
- [`AnnotationBase`](AnnotationBase)
- [`ButtonAppearance`](ButtonAppearance)
- [`Model3DView`](Model3DView)
- [`Model3DStream`](Model3DStream)
- [`AcroForm`](AcroForm)
- [`Field`](Field)
- [`SoundObject`](SoundObject)
- [`OutlineNode`](OutlineNode)
- [`ActionLaunchWinAttrs`](ActionLaunchWinAttrs)
- [`EmbeddedFileStream`](EmbeddedFileStream)
- [`FileSpecification`](FileSpecification)
- [`FileInfo`](FileInfo)
- [`DocAction`](DocAction)
- [`PdfImageHandler`](PdfImageHandler)
- [`FontHandler`](FontHandler)
- [`PdfFontDescriptor`](PdfFontDescriptor)
- [`PdfCMapTable`](PdfCMapTable)
- [`PdfCIDFont`](PdfCIDFont)
- [`PdfFont`](PdfFont)
- [`Metadata`](Metadata)
- [`DocumentInfo`](DocumentInfo)
- [`MarkInfo`](MarkInfo)
- [`Namespace`](Namespace)
- [`RoleMap`](RoleMap)
- [`ClassMap`](ClassMap)
- [`Attr`](Attr)
- [`AttrRevision`](AttrRevision)
- [`AttrClsRevision`](AttrClsRevision)
- [`StructTreeItem`](StructTreeItem)
- [`StructTreeRoot`](StructTreeRoot)
- [`FormXObject`](FormXObject)
- [`IccProfile`](IccProfile)
- [`OutputIntent`](OutputIntent)
- [`PageLabelingRange`](PageLabelingRange)

## Accessors

### id

#### Get Signature

```ts
get id(): number;
```

Gets the reference to the object.

##### Returns

`number`

***

### om

#### Get Signature

```ts
get om(): ObjectManager;
```

Gets the owner [ObjectManager](ObjectManager) instance.

##### Returns

[`ObjectManager`](ObjectManager)

## Methods

### free()

```ts
free(): void;
```

Detaches the object from the [ObjectManager](ObjectManager) and deallocates its memory, if possible.

#### Returns

`void`

***

### rebind()

```ts
rebind(omTo): void;
```

Rebinds the object from the current [ObjectManager](ObjectManager) to the specified one.

#### Parameters

##### omTo

[`ObjectManager`](ObjectManager)

The new [ObjectManager](ObjectManager) for the object.

#### Returns

`void`
