# DestinationBase

## Content

# Abstract Class: DestinationBase

Base class for PDF actions which can be performed when user clicks links, document outlines etc.

## Extends

- [`DocAction`](DocAction)

## Extended by

- [`Destination`](Destination)
- [`DestinationRef`](DestinationRef)

## Accessors

### id

#### Get Signature

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

Gets the reference to the object.

##### Returns

`number`

#### Inherited from

[`DocAction`](DocAction).[`id`](DocAction#id)

***

### om

#### Get Signature

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

Gets the owner [ObjectManager](ObjectManager) instance.

##### Returns

[`ObjectManager`](ObjectManager)

#### Inherited from

[`DocAction`](DocAction).[`om`](DocAction#om)

## Methods

### free()

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

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

#### Returns

`void`

#### Inherited from

[`DocAction`](DocAction).[`free`](DocAction#free)

***

### 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`

#### Inherited from

[`DocAction`](DocAction).[`rebind`](DocAction#rebind)
