op.document.removeHeaderAndFooter
From PDF XChange PDF SDK
Line 25: | Line 25: | ||
| Dictionary with options of the operation. | | Dictionary with options of the operation. | ||
|} | |} | ||
+ | |||
+ | == Sample == | ||
+ | <pre class="brush:c#">//C# | ||
+ | private void RemoveAllHeadersAndFooters(PDFXEdit.IPXV_Document Doc, PDFXEdit.IPXV_Inst Inst) | ||
+ | { | ||
+ | int nID = Inst.Str2ID("op.document.removeHeaderAndFooter", false); | ||
+ | PDFXEdit.IOperation Op = Inst.CreateOp(nID); | ||
+ | var input = Op.Params.Root["Input"]; | ||
+ | input.v = Doc.CoreDoc; | ||
+ | Op.Do(); | ||
+ | } | ||
+ | </pre> |
Latest revision as of 06:46, 20 April 2016
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
//C# private void RemoveAllHeadersAndFooters(PDFXEdit.IPXV_Document Doc, PDFXEdit.IPXV_Inst Inst) { int nID = Inst.Str2ID("op.document.removeHeaderAndFooter", false); PDFXEdit.IOperation Op = Inst.CreateOp(nID); var input = Op.Params.Root["Input"]; input.v = Doc.CoreDoc; Op.Do(); }