# PdfInputMode

How PdfDocument.Load and the path overload read their input.

Enum 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[PdfInputMode.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Pdf/Reading/Options/PdfInputMode.cs#L4)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

How [PdfDocument.Load](/api/pdf/officeimo-pdf-pdfdocument/) and the path overload read their input.

## Inheritance

- Enum
- PdfInputMode

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

- Field [PdfInputMode.Buffered](/api/pdf/officeimo-pdf-pdfinputmode/#field-buffered)
- Field [PdfInputMode.Seekable](/api/pdf/officeimo-pdf-pdfinputmode/#field-seekable)
- Property [PdfLoadOptions.InputMode](/api/pdf/officeimo-pdf-pdfloadoptions/#property-inputmode)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const PdfInputMode Buffered` [#](#field-buffered)

[PdfInputMode.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Pdf/Reading/Options/PdfInputMode.cs#L6)

Read the whole input into a buffer the document owns. The input can be closed or reused after loading.

Value: `0`

`public const PdfInputMode Seekable` [#](#field-seekable)

[PdfInputMode.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Pdf/Reading/Options/PdfInputMode.cs#L12)

Read the input in place with bounded reads and fetch objects as they are needed, for large files. The document keeps the stream or file open until it is disposed; keep a stream open and unchanged until then.

Value: `1`

<!-- PowerForge markdown artifact sha256:BEFA469CE9BA44CFD684C06A1CC61BE6B634C60DEFAC82993949AE3B2BE59CF2 -->
