Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetUseGlobalImpFiles
Sets whether to use global import file.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetUseGlobalImpFiles"; PDF ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. |
Result
Returns OK or error.
Description
Sets whether to use global import file.The property can be used to load one or more external PDF files permanent into memory, e.g. to split a large PDF file into smaller pieces. The next PDF file that will be opened with the function DynaPDF.OpenPDFFromFile or DynaPDF.OpenPDFFromContainer will not be closed when DynaPDF.CloseFile or DynaPDF.FreePDF is called. When creating a new PDF file the previously opened import file is still open and it is possible to import pages from this file without loading the file again.
If more than one file should be loaded permanent into memory then set also the flag if2UseProxy with DynaPDF.SetImportFlags2. PDF files which are no longer needed can be closed with DynaPDF.CloseImportFile or DynaPDF.CloseImportFileEx.
Requires DynaPDF Pro license.
See also SetUseGlobalImpFiles function in DynaPDF manual.
See also
- DynaPDF.CloseImportFile
- DynaPDF.GetUseGlobalImpFiles
- DynaPDF.Initialize
- DynaPDF.New
- DynaPDF.OpenPDFFromContainer
- DynaPDF.OpenPDFFromFile
- DynaPDF.SetImportFlags
- DynaPDF.SetImportFlags2
This function checks for a license.
Created 6th February 2015, last changed 1st April 2015