op.document.removeHeaderAndFooter

From PDF XChange PDF SDK
Revision as of 06:46, 20 April 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Overview

The operation allows to remove headers and footers from the document.

Parameters

Name Type Description
Input IUnknown IUnknown-based object containing the IPXC_Document which the headers and footers will be removed from.
Output IUnknown IUnknown-based object containing the IPXC_Document with removed headers and footers. Not yet implemented.
Options Dictionary Dictionary with options of the operation.

Sample

1//C#
2private void RemoveAllHeadersAndFooters(PDFXEdit.IPXV_Document Doc, PDFXEdit.IPXV_Inst Inst)
3{
4    int nID = Inst.Str2ID("op.document.removeHeaderAndFooter", false);
5    PDFXEdit.IOperation Op = Inst.CreateOp(nID);
6    var input = Op.Params.Root["Input"];
7    input.v = Doc.CoreDoc;
8    Op.Do();
9}