Click or drag to resize

PdfiumFPDF_SaveWithVersion Method

Same as function FPDF_SaveAsCopy(IntPtr, FPDF_FILEWRITE, SaveFlags), except the file Version of the saved document could be specified by user.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDF_SaveWithVersion(
	IntPtr document,
	FPDF_FILEWRITE saveData,
	SaveFlags flag,
	int fileVersion
)

Parameters

document  IntPtr
Handle to document. Returned by FPDF_LoadDocument(String, String) and FPDF_CreateNewDocument.
saveData  FPDF_FILEWRITE
A pointer to a custom file write structure
flag  SaveFlags
The creating flags.
fileVersion  Int32
The PDF file Version. File Version: 14 for 1.4, 15 for 1.5, ...

Return Value

Boolean
TRUE if succeed, FALSE if failed.
See Also