# RemoteDestination Class

> A view of a page contained in a separate document.

- Product: Adobe PDF Library 21
- Language: .NET Framework
- Version: APDFL21.0.0PlusP1e
- HTML page: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/RemoteDestination
- Version index: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/llms.txt

```csharp
class RemoteDestination : SystemIDisposable
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** `SystemIDisposable`

## Description

A view of a page contained in a separate document.

A RemoteDestination is not the same as a ViewDestination; the two objects are not interchangeable.

**Referenced by:** [`RemoteGoToAction`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/RemoteGoToAction.md)

**Uses types:** [`Document`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Document.md), [`PDFObject`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/PDFObject.md), [`Rect`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Rect.md)

## Constructors

### RemoteDestination

```csharp
Datalogics.PDFL.RemoteDestination.RemoteDestination(Document doc, int pageNum, string fitType, Rect r, double zoom)
```

*constructor*

**Parameters**

- `doc` ([`Document`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Document.md)): Document that the RemoteDestination will be created in.
- `pageNum` (`int`): Page number of the page in the remote document to display.
- `fitType` (`string`): Fit Type must be: "XYZ", "Fit", "FitH", "FitV", "FitR", "FitB", "FitBH", or "FitBV".
- `r` ([`Rect`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Rect.md)): Target Rectangle
- `zoom` (`double`): Zoom level

Construct a RemoteDestination.

**Exceptions**

- `ApplicationException`: fitType could not be converted to a legal fit type atom.

## Properties

### DestRect

```csharp
Rect Datalogics.PDFL.RemoteDestination.DestRect { get; set; }
```

The destination rectangle.

### FitType

```csharp
string Datalogics.PDFL.RemoteDestination.FitType { get; set; }
```

The fit type for the destination.

**Exceptions**

- `ApplicationException`: fitType could not be converted to a legal fit type atom.

### NullValue

```csharp
static double Datalogics.PDFL.RemoteDestination.NullValue { get; }
```

*static*

### PDFObject

```csharp
PDFObject Datalogics.PDFL.RemoteDestination.PDFObject { get; }
```

Retrieve the PDFObject representation of this Remote Destination.

### PageNumber

```csharp
int Datalogics.PDFL.RemoteDestination.PageNumber { get; set; }
```

The page number of the destination.

### Zoom

```csharp
double Datalogics.PDFL.RemoteDestination.Zoom { get; set; }
```

The zoom factor for the destination.

## Methods

### Dispose

```csharp
void Datalogics.PDFL.RemoteDestination.Dispose()
```

**Returns:** `void`

### Equals

```csharp
override bool Datalogics.PDFL.RemoteDestination.Equals(object obj)
```

**Parameters**

- `obj` (`object`)

**Returns:** `override bool`

### ToString

```csharp
override string Datalogics.PDFL.RemoteDestination.ToString()
```

**Returns:** `override string`

A string describing the page number, fit type, destination rectangle, and zoom factor.

Returns a string representation of this RemoteDestination.
