FPDF_SaveWithVersion method
int
FPDF_SaveWithVersion(
- FPDF_DOCUMENT document,
- Pointer<
FPDF_FILEWRITE> file_write, - int flags,
- int file_version,
Function: FPDF_SaveWithVersion Same as FPDF_SaveAsCopy(), except the file version of the saved document can be specified by the caller. Parameters: document - Handle to document. file_write - A pointer to a custom file write structure. flags - The creating flags. file_version - The PDF file version. File version: 14 for 1.4, 15 for 1.5, ... Return value: TRUE if succeed, FALSE if failed.
Implementation
int FPDF_SaveWithVersion(
FPDF_DOCUMENT document,
ffi.Pointer<FPDF_FILEWRITE> file_write,
int flags,
int file_version,
) {
return _FPDF_SaveWithVersion(document, file_write, flags, file_version);
}