Cobaia
Cobaia

Reputation: 1553

Pdfium save PDF document incremental

The FPDF_INCREMENTAL=1 flag in the FPDF_SaveAsCopy function does not work. Generates an incorrect PDF document.

Using 0 (zero) instead of FPDF_INCREMENTAL, it works. But I would like to save incrementally, using 0 does not save incrementally.

How to make the FPDF_INCREMENTAL flag work? Do I need to enable anything?

Upvotes: 0

Views: 662

Answers (1)

Untargeted
Untargeted

Reputation: 162

It says here that the Flag for the incremental save is '1'.

 FPDF_SaveAsCopy(IntPtr, FPDF_FILEWRITE, SaveFlags)

Upvotes: 0

Related Questions