# PaperSource Class

> Defines a set of paper trays in a printer that can be used to select the paper source when printing.

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

```csharp
class PaperSource : SystemIDisposable
```

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

**Inherits from:** `SystemIDisposable`

## Description

Defines a set of paper trays in a printer that can be used to select the paper source when printing.

## Fields

### Auto

```csharp
static const int Datalogics.PDFL.PaperSource.Auto
```

*static*

Auto select based on paper size

### Cassette

```csharp
static const int Datalogics.PDFL.PaperSource.Cassette
```

*static*

Use paper from the cassette tray

### EnvMaual

```csharp
static const int Datalogics.PDFL.PaperSource.EnvMaual
```

*static*

Use paper from the envelope manual feed

### Envelope

```csharp
static const int Datalogics.PDFL.PaperSource.Envelope
```

*static*

Use paper from the envelope tray

### First

```csharp
static const int Datalogics.PDFL.PaperSource.First
```

*static*

Use paper from the upper tray

### FormSource

```csharp
static const int Datalogics.PDFL.PaperSource.FormSource
```

*static*

Use paper from the forms tray

### LargeCapacity

```csharp
static const int Datalogics.PDFL.PaperSource.LargeCapacity
```

*static*

Use paper from the large capacity tray

### LargeFMT

```csharp
static const int Datalogics.PDFL.PaperSource.LargeFMT
```

*static*

Use paper from the large forms tray

### Last

```csharp
static const int Datalogics.PDFL.PaperSource.Last
```

*static*

Use paper from the forms tray

### Lower

```csharp
static const int Datalogics.PDFL.PaperSource.Lower
```

*static*

Use paper from the lower tray

### Manual

```csharp
static const int Datalogics.PDFL.PaperSource.Manual
```

*static*

Use paper from the manual feed

### Middle

```csharp
static const int Datalogics.PDFL.PaperSource.Middle
```

*static*

Use paper from the middle tray

### OnlyOne

```csharp
static const int Datalogics.PDFL.PaperSource.OnlyOne
```

*static*

Use paper from the upper tray

### SmallFMT

```csharp
static const int Datalogics.PDFL.PaperSource.SmallFMT
```

*static*

Use paper from the small forms tray

### Tractor

```csharp
static const int Datalogics.PDFL.PaperSource.Tractor
```

*static*

Use paper from the tractor feed

### Upper

```csharp
static const int Datalogics.PDFL.PaperSource.Upper
```

*static*

Use paper from the upper tray

### UseSystemDefault

```csharp
static const int Datalogics.PDFL.PaperSource.UseSystemDefault
```

*static*

Use the default paper source

### User

```csharp
static const int Datalogics.PDFL.PaperSource.User
```

*static*

Use paper from device specific trays by setting PaperSource to a value larger than User

## Methods

### Dispose

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

**Returns:** `void`
