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

DynaPDF.DeletePage

Deletes a given page in the current working PDF.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.DeletePage"; PDF; PageNumber )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
PageNumber The page number to delete. Range from 1 to DynaPDF.GetPageCount. 1

Result

Returns number or error.

Description

Deletes a given page in the current working PDF.
Returns number of remaining pages on success.

See also DeletePage function in DynaPDF manual.

Examples

Delete first page:

Set Variable [ $r ; Value: MBS("DynaPDF.DeletePage"; $pdf; 1) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 27th June 2024


DynaPDF.DeleteOutputIntent - DynaPDF.DeletePageLabels