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.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

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


DynaPDF.ExchangeBookmarks - DynaPDF.ExtractDocumentText

Feedback: Report problem or ask question.