Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
DynaPDF.GetInRepairMode
Queries whether the current open import file was opened in repair or normal mode.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
DynaPDF
|
4.2 |
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
MBS( "DynaPDF.GetInRepairMode"; PDF )
More
MBS(
"DynaPDF.GetInRepairMode"; /* Queries whether the current open import file was opened in repair or normal mode. */
$PDF) /* The PDF reference returned from
DynaPDF.New. */
Less
Parameters
Parameter |
Description |
Example |
PDF |
The PDF reference returned from DynaPDF.New. |
$pdf |
Result
Returns 0, 1 or error.
Description
Queries whether the current open import file was opened in repair or normal mode.
When a PDF file was loaded in normal mode and if it contains damages which were not recognized when opening the file, e.g. if it is not possible to load one or more pages of it, then it is possible to load the file explicitely in repair mode to repair the damages. Not all damages can be repaired but DynaPDF contains a very robust and powerful PDF parser that is able to repair many damages in a PDF file.
See also DynaPDF.OpenImportFile.
If the current open import file was already opened in repair mode then the return value is 1. If it was loaded in normal mode then the return value is 0. If no import file is in memory the return value is a negative error code.
See also GetInRepairMode function in DynaPDF manual.
See also
Created 18th August 2014, last changed 18th August 2014
DynaPDF.GetInPrintSettings
-
DynaPDF.GetIsFixedPitch
Feedback: Report problem or ask question.