public enum LinearizationMode extends Enum<LinearizationMode>
Different linearization modes balance disk I/O requirements and system resource constraints. Choose the mode that best fits your use case and system environment.
Mirrors IronPdf.LinearizationMode on the C# side.
| Enum Constant and Description |
|---|
Automatic
Automatically selects the optimal linearization method based on system capabilities.
|
FileBased
Performs linearization using temporary file operations on disk.
|
InMemory
Performs linearization entirely in memory without any disk I/O operations.
|
| Modifier and Type | Method and Description |
|---|---|
static LinearizationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinearizationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinearizationMode Automatic
Behavior:
FileBased linearization.InMemory.When to Use: Recommended for most applications where you want optimal linearization but need to handle varying system environments gracefully.
public static final LinearizationMode InMemory
Characteristics:
When to Use:
public static final LinearizationMode FileBased
Characteristics:
System Requirements: Requires write permissions to the system temporary directory.
public static LinearizationMode[] values()
for (LinearizationMode c : LinearizationMode.values()) System.out.println(c);
public static LinearizationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022–2026 Iron Software. All rights reserved.