# PdfBatesDocument

One PDF supplied to a Bates-numbering batch.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[PdfBatesNumberer.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfBatesNumberer.cs#L27)

**Modifiers**

sealed

One PDF supplied to a Bates-numbering batch.

## Inheritance

- object
- PdfBatesDocument

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [PdfBatesNumberer.Apply](/api/pdf/officeimo-pdf-pdfbatesnumberer/#method-apply-collections-generic-ienumerable-officeimo-pdf-pdfbatesdocument-officeimo-pdf-pdfbatesnumberingoptions-threading-cancellationtoken) parameter `documents`

Filter members 

Show inherited

## Constructors

`public PdfBatesDocument(byte[] pdf, string? name = null)` [#](#constructor-ctor-byte-string)

[PdfBatesNumberer.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfBatesNumberer.cs#L27)

Creates a batch input from PDF bytes.

Parameters

**pdf byte[] required**

**name string? = null optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string? Name { get; }` [#](#property-name)

[PdfBatesNumberer.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfBatesNumberer.cs#L34)

Optional stable document name carried into the operation report.

`public PdfLoadOptions? ReadOptions { get; set; }` [#](#property-readoptions)

[PdfBatesNumberer.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfBatesNumberer.cs#L37)

Optional parser, password, permission, and resource-budget settings for this document.

`public OfficePageSelector? TargetPages { get; set; }` [#](#property-targetpages)

[PdfBatesNumberer.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfBatesNumberer.cs#L40)

Optional document-specific page selection. Overrides [PdfBatesNumberingOptions.TargetPages](/api/pdf/officeimo-pdf-pdfbatesnumberingoptions/).

<!-- PowerForge markdown artifact sha256:78E472FD6F34D6EEE6086B2467ABB4256496F3BCCA2E4BC671799AFA0CCA61E5 -->
