op.document.removeBackground

From Tracker Software PDF SDK
Revision as of 06:42, 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 any existing background from the document.

Parameters

Name Type Description
Input IUnknown IUnknown-based object containing the IPXC_Document which the background will be removed from.
Output IUnknown IUnknown-based object containing the IPXC_Document with removed background. Not yet implemented.

Sample

//C#
private void RemoveBackground(PDFXEdit.IPXV_Document Doc, PDFXEdit.IPXV_Inst Inst)
{
	int nID = Inst.Str2ID("op.document.removeBackground", false);
	PDFXEdit.IOperation Op = Inst.CreateOp(nID);
	var input = Op.Params.Root["Input"];
	input.v = Doc.CoreDoc;
	Op.Do();
}