| Modifier and Type | Field and Description |
|---|---|
| public static final CompressParameters | |
| public static final int | |
| public static final CompressParameters | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CompressParameters(int
The number of objects, that can be contained in compressed object streams. objectStreamSize)Sets the number of objects, that can be contained in compressed object streams. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The number of objects, that can be contained in compressed object streams.Returns the number of objects, that can be contained in compressed object streams. |
| public boolean | Returns: true if compression is enabled.Indicates whether the creation of compressed object streams is enabled or not. |
| DEFAULT_COMPRESSION | back to summary |
|---|---|
| public static final CompressParameters DEFAULT_COMPRESSION | |
| DEFAULT_OBJECT_STREAM_SIZE | back to summary |
|---|---|
| public static final int DEFAULT_OBJECT_STREAM_SIZE | |
| NO_COMPRESSION | back to summary |
|---|---|
| public static final CompressParameters NO_COMPRESSION | |
| objectStreamSize | back to summary |
|---|---|
| private final int objectStreamSize | |
| CompressParameters | back to summary |
|---|---|
| public CompressParameters() | |
| CompressParameters | back to summary |
|---|---|
| public CompressParameters(int objectStreamSize) Sets the number of objects, that can be contained in compressed object streams. Higher object stream sizes may cause PDF readers to slow down during the rendering of PDF documents, therefore a reasonable value should be selected. A value of 0 disables the compression.
| |
| getObjectStreamSize | back to summary |
|---|---|
| public int getObjectStreamSize() Returns the number of objects, that can be contained in compressed object streams. Higher object stream sizes may cause PDF readers to slow down during the rendering of PDF documents, therefore a reasonable value should be selected.
| |
| isCompress | back to summary |
|---|---|
| public boolean isCompress() Indicates whether the creation of compressed object streams is enabled or not.
| |