Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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