op.document.removeWatermarks
From PDF XChange PDF SDK
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
|- | |- | ||
| class="op_param_name" | Input | | class="op_param_name" | Input | ||
− | | style="text-align:center" | | + | | style="text-align:center" | IUnknown |
| <code>IUnknown</code>-based object containing the [[PXV:IPXC_Document|IPXC_Document]] which the watermark will be removed from. | | <code>IUnknown</code>-based object containing the [[PXV:IPXC_Document|IPXC_Document]] which the watermark will be removed from. | ||
|- | |- | ||
| class="op_param_name" | Output | | class="op_param_name" | Output | ||
− | | style="text-align:center;" | | + | | style="text-align:center;" | IUnknown |
| <code>IUnknown</code>-based object containing the [[PXV:IPXC_Document|IPXC_Document]] with removed watermark. Not yet implemented. | | <code>IUnknown</code>-based object containing the [[PXV:IPXC_Document|IPXC_Document]] with removed watermark. Not yet implemented. | ||
|- | |- | ||
Line 25: | Line 25: | ||
| Dictionary with options of the operation. | | Dictionary with options of the operation. | ||
|} | |} | ||
+ | |||
+ | == Sample == | ||
+ | <pre class="brush:c#">//C# | ||
+ | private void RemoveAllWatermarks(PDFXEdit.IPXV_Document Doc, PDFXEdit.IPXV_Inst Inst) | ||
+ | { | ||
+ | int nID = Inst.Str2ID("op.document.removeWatermarks", 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:47, 20 April 2016
Overview
The operation allows to remove watermarks from the document.
Parameters
Name | Type | Description |
---|---|---|
Input | IUnknown | IUnknown -based object containing the IPXC_Document which the watermark will be removed from.
|
Output | IUnknown | IUnknown -based object containing the IPXC_Document with removed watermark. Not yet implemented.
|
Options | Dictionary | Dictionary with options of the operation. |
Sample
//C# private void RemoveAllWatermarks(PDFXEdit.IPXV_Document Doc, PDFXEdit.IPXV_Inst Inst) { int nID = Inst.Str2ID("op.document.removeWatermarks", false); PDFXEdit.IOperation Op = Inst.CreateOp(nID); var input = Op.Params.Root["Input"]; input.v = Doc.CoreDoc; Op.Do(); }