| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
DynaPDF.CloseImportFile
Closes the current import PDF.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| DynaPDF | 3.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.CloseImportFile"; PDF ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. |
Result
Returns OK.
Description
Closes the current import PDF.The current working PDF stays in memory.
See also CloseImportFile function in DynaPDF manual.
Examples
Load a PDF from container, work with it and close PDF:
Set Variable [ $r ; Value: MBS("DynaPDF.OpenPDFFromContainer"; $PDF; Test::data) ]
# work with import PDF
Set Variable [ $r ; Value: MBS( "DynaPDF.CloseImportFile"; $PDF ) ]
# work with import PDF
Set Variable [ $r ; Value: MBS( "DynaPDF.CloseImportFile"; $PDF ) ]
See also
- DynaPDF.New
- DynaPDF.OpenOutputFile
- DynaPDF.OpenOutputFileEncrypted
- DynaPDF.OpenPDFFromContainer
- DynaPDF.OpenPDFFromFile
- DynaPDF.SetUseGlobalImpFiles
Example Databases
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 24th February 2026