2016-12-05 5 views

Antwort

6

Sie die SmartMode Eigenschaft eines PdfWriter zu true einstellen:

/** 
* Sets the smart mode. 
* <p/> 
* In smart mode when resources (such as fonts, images,...) are 
* encountered, a reference to these resources is saved 
* in a cache, so that they can be reused. 
* This requires more memory, but reduces the file size 
* of the resulting PDF document. 
*/ 
public PdfWriter setSmartMode(boolean smartMode) 

solche Verwendung ein PdfWriter auf Seiten zu kopieren, um das Äquivalent eines PdfSmartCopy zu verwenden.