Skip to main content

RemovePage

Removes page by index from document

Syntax

expression.RemovePage(nPos);

expression - A variable that represents a ApiDocument class.

Parameters

NameRequired/OptionalData typeDefaultDescription
nPosRequirednumberpage position

Returns

boolean

Example

This example shows how to remove page from document.

let doc = Api.GetDocument();
doc.AddPage(1);
doc.RemovePage(0);