op.document.rotatePages
From PDF XChange PDF SDK
Overview
The operation overview...
Parameters
Name | Type | Description |
---|---|---|
Input | Array | Array of IUnknown -based objects.
|
Output | Array | Array of IUnknown -based objects.
|
Options | Dictionary | Dictionary with options of the operation. |
Sample
//C# private void RotatePages(PDFXEdit.IPXV_Document Doc, PDFXEdit.PXV_Inst Inst) { int nID = Inst.Str2ID("op.document.rotatePages", 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 = "All"; //Rotate all pages options["Direction"].v = 3; //Rotate CounterClockwise pOp.Do(); }