# PdfBatesDocumentResult

Numbered output and preservation evidence for one input document.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

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

**Modifiers**

sealed

Numbered output and preservation evidence for one input document.

## Inheritance

- object
- PdfBatesDocumentResult

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

### Returned or exposed by 1

- Property [PdfBatesBatchResult.Documents](/api/pdf/officeimo-pdf-pdfbatesbatchresult/#property-documents)

Filter members 

Show inherited

## Methods

`public byte[] ToBytes()` [#](#method-tobytes)

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

Returns an independent copy of the numbered PDF.

Returns

`byte[]`

`public PdfDocument ToDocument(PdfLoadOptions? readOptions = null)` [#](#method-todocument-officeimo-pdf-pdfloadoptions)

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

Opens the numbered PDF through the public document API.

Parameters

**readOptions OfficeIMO.Pdf.PdfLoadOptions? = null optional**

Returns

`PdfDocument`

## 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 int DocumentIndex { get; }` [#](#property-documentindex)

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

Zero-based input document index.

`public string DocumentName { get; }` [#](#property-documentname)

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

Stable input document name.

`public IReadOnlyList<PdfBatesAssignment> Assignments { get; }` [#](#property-assignments)

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

Numbers assigned within this document.

`public PdfRewritePreservationReport Preservation { get; }` [#](#property-preservation)

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

Structural preservation comparison between input and output.

<!-- PowerForge markdown artifact sha256:282E118470F1E8D23A8F3151DF66938C01535E66A3E347FE1B1F20128918492E -->
