op.document.deletePages
From PDF XChange PDF SDK
Line 2: | Line 2: | ||
{{#customTitle:op.document.deletePages}} | {{#customTitle:op.document.deletePages}} | ||
{{#parentPage:PXV:Operations|op.document.deletePages|operation}} | {{#parentPage:PXV:Operations|op.document.deletePages|operation}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
Revision as of 05:12, 9 January 2016
Overview
The operation allows to delete pages.
Parameters
Name | Type | Description |
---|---|---|
Input | Array | Array of IUnknown -based objects containing the IPXC_Document which pages will be deleted.
|
Output | Array | Array of IUnknown -based objects containing the IPXC_Document which pages were deleted.
|
Options | Dictionary | Dictionary with options of the operation. |
Sample
//C# private void DeletePages(PDFXEdit.IPXV_Document Doc, PDFXEdit.PXV_Inst Inst) { int nID = Inst.Str2ID("op.document.deletePages", false); PDFXEdit.IOperation pOp = Inst.CreateOp(nID); PDFXEdit.ICabNode input = pOp.Params.Root["Input"]; input.v = Doc; PDFXEdit.ICabNode options = pOp.Params.Root["Options"]; options["PagesRange.Type"].v = "Exact"; options["PagesRange.Text"].v = "1-3"; //Select pages range that will be deleted from the document pOp.Do(); }