| Package | Description |
|---|---|
| com.ironsoftware.ironpdf | |
| com.ironsoftware.ironpdf.render |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
PdfDocument.linearizePdfToBytes(byte[] pdfBytes,
String password,
LinearizationMode mode)
Static helper that linearizes the given PDF bytes and returns the linearized bytes.
|
static byte[] |
PdfDocument.linearizePdfToBytes(InputStream pdfStream,
String password,
LinearizationMode mode)
Static helper that linearizes a PDF from an
InputStream and returns the linearized bytes. |
byte[] |
PdfDocument.linearizePdfToBytes(LinearizationMode mode)
Linearizes the current PDF document and returns the result as a byte array.
|
byte[] |
PdfDocument.linearizePdfToBytes(String password,
LinearizationMode mode)
Linearizes the current PDF document and returns the result as a byte array.
|
InputStream |
PdfDocument.linearizePdfToStream(LinearizationMode mode)
Linearizes the current PDF document and returns the result as an
InputStream. |
InputStream |
PdfDocument.linearizePdfToStream(String password,
LinearizationMode mode)
Linearizes the current PDF document and returns the result as an
InputStream. |
| Modifier and Type | Method and Description |
|---|---|
static LinearizationMode |
LinearizationMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinearizationMode[] |
LinearizationMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2022–2026 Iron Software. All rights reserved.