---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/FitExplicitDestination
---

# FitExplicitDestination

## Overview

`FitExplicitDestination` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `ExplicitDestination`.

Fit-the-page destination (/Fit).

This class provides 5 methods for working with FitExplicitDestination objects in .NET programs.
Available methods include: `CreateDestination`, `FitExplicitDestination`, `ToString`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Page`, `PageNumber`, `Type`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `PageNumber` | `int` | Read | Target page number (1-based). |
| `Type` | `string` | Read | The destination type name (Fit, XYZ, FitH, etc). |
| `Page` | `Page?` | Read | The target page (API parity). |

## Methods

| Signature | Description |
|-----------|-------------|
| `FitExplicitDestination(page: Page)` | Calls FitExplicitDestination on this FitExplicitDestination instance. |
| `FitExplicitDestination(pageNumber: int)` |  |
| `FitExplicitDestination(document: Document, pageNumber: int)` |  |
| `ToString()` | Calls ToString on this FitExplicitDestination instance. |
| `CreateDestination(pageNumber: int, type: ExplicitDestinationType, values: double[])` | Factory: create the concrete destination subclass for type on pageNumber. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)