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


The function exchanges two pages.

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

MBS( "DynaPDF.ExchangePages"; PDF; First; Second )


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
First First page number. 3
Second Second page number. 5


Returns OK or error.


The function exchanges two pages.
Page links, bookmarks, go-to actions, and named destinations are changed so that the destination page still refers to the correct page. Note that page numbering starts at 1. It is also possible to move a page to another position in the file (see DynaPDF.MovePage for further information).

See also ExchangePages function in DynaPDF manual.

See also

DynaPDF.ExchangeBookmarks   -   DynaPDF.ExtractDocumentText

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos