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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

DynaPDF.ExchangePages

The function exchanges two pages.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.ExchangePages"; PDF; First; Second )   More

Parameters

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

Result

Returns OK or error.

Description

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

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


DynaPDF.ExchangeBookmarks - DynaPDF.ExtractDocumentText

💬 Ask a question or report a problem