FPDF_SaveWithVersion function
- @Native<FPDF_BOOL Function(FPDF_DOCUMENT, Pointer<
FPDF_FILEWRITE> , FPDF_DWORD, Int)>(FPDF_DOCUMENT, ffi.Pointer<FPDF_FILEWRITE>, FPDF_DWORD, ffi.Int)>()
- 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
@ffi.Native<
FPDF_BOOL Function(
FPDF_DOCUMENT,
ffi.Pointer<FPDF_FILEWRITE>,
FPDF_DWORD,
ffi.Int,
)
>()
external int FPDF_SaveWithVersion(
FPDF_DOCUMENT document,
ffi.Pointer<FPDF_FILEWRITE> file_write,
int flags,
int file_version,
);