Class ObjectStreamMode
Object stream mode used when writing the compressed PDF.
Inheritance
Namespace: IronPdf
Assembly: IronPdf.dll
Syntax
public sealed class ObjectStreamMode : Enum
Fields
Disable
Write every object as a top-level indirect object (no object streams). Use when consumer tools cannot read object streams.
Declaration
public const ObjectStreamMode Disable
Field Value
| Type | Description |
|---|---|
| ObjectStreamMode |
Generate
Pack indirect objects into object streams. Smallest output for PDF 1.5+ (default).
Declaration
public const ObjectStreamMode Generate
Field Value
| Type | Description |
|---|---|
| ObjectStreamMode |
Preserve
Keep the input's object stream layout unchanged.
Declaration
public const ObjectStreamMode Preserve
Field Value
| Type | Description |
|---|---|
| ObjectStreamMode |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |