# PdfDocumentRevisionInfo

Lightweight cross-reference revision marker read from a PDF file.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfDocumentRevisionInfo.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfDocumentRevisionInfo.cs#L14)

**Modifiers**

sealed

Lightweight cross-reference revision marker read from a PDF file.

## Inheritance

- object
- PdfDocumentRevisionInfo

## Usage

Explore 3 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 3

- Property [PdfDebuggerReport.Revisions](/api/pdf/officeimo-pdf-pdfdebuggerreport/#property-revisions)
- Property [PdfDocumentSecurityInfo.Revisions](/api/pdf/officeimo-pdf-pdfdocumentsecurityinfo/#property-revisions)
- Property [PdfRawDocumentView.Revisions](/api/pdf/officeimo-pdf-pdfrawdocumentview/#property-revisions)

Filter members 

Show inherited

## 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 RevisionNumber { get; }` [#](#property-revisionnumber)

[PdfDocumentRevisionInfo.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfDocumentRevisionInfo.cs#L14)

One-based revision number in file order.

`public int StartXrefOffset { get; }` [#](#property-startxrefoffset)

[PdfDocumentRevisionInfo.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfDocumentRevisionInfo.cs#L17)

Offset declared by this revision's startxref section.

`public int? PreviousXrefOffset { get; }` [#](#property-previousxrefoffset)

[PdfDocumentRevisionInfo.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfDocumentRevisionInfo.cs#L20)

Previous xref offset linked from this revision's trailer or xref stream, when readable.

`public bool HasPreviousRevision { get; }` [#](#property-haspreviousrevision)

[PdfDocumentRevisionInfo.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfDocumentRevisionInfo.cs#L23)

True when this revision links to a previous revision.

<!-- PowerForge markdown artifact sha256:64654803A986DB4BC15283533756C83BED36146DAFABE37E4F8620F42B35B7BF -->
