Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.GetInRepairMode

Queries whether the current open import file was opened in repair or normal mode.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.2 Yes Yes Yes Yes Yes

MBS( "DynaPDF.GetInRepairMode"; PDF )

Parameters

Parameter Description Example value
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


DynaPDF.GetInPrintSettings   -   DynaPDF.GetIsFixedPitch

Feedback: Report problem or ask question.




Links
MBS FileMaker blog