File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
kernel/src/main/java/com/itextpdf/kernel/pdf Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,16 @@ public PdfReader setUnethicalReading(boolean unethicalReading) {
203
203
return this ;
204
204
}
205
205
206
+ /**
207
+ * Defines if memory saving mode is enabled.
208
+ * <p>
209
+ * By default memory saving mode is disabled for the sake of time–memory trade-off.
210
+ * <p>
211
+ * If memory saving mode is enabled, document processing might slow down, but reading will be less memory demanding.
212
+ *
213
+ * @param memorySavingMode true to enable memory saving mode, false to disable it.
214
+ * @return this {@link PdfReader} instance.
215
+ */
206
216
public PdfReader setMemorySavingMode (boolean memorySavingMode ) {
207
217
this .memorySavingMode = memorySavingMode ;
208
218
return this ;
You can’t perform that action at this time.
0 commit comments