Overview
The operation allows to change specified document's properties.
Parameters
Name
|
Type
|
Description
|
Input
|
Array
|
IUnknown -based object containing the IPXC_Document that will have it's properties changed.
|
Output
|
Array
|
IUnknown -based object containing the IPXC_Document that had it's properties changed.
|
Options
|
Dictionary
|
Dictionary with options of the operation.
|
Sample
02 | private void ChangeDocumentInfo(PDFXEdit.IPXV_Document Doc, PDFXEdit.IPXV_Inst Inst) |
04 | int nID = Inst.Str2ID( "op.document.changeInfo" , false ); |
05 | PDFXEdit.IOperation Op = Inst.CreateOp(nID); |
06 | var input = Op.Params.Root[ "Input" ]; |
07 | input.Add().v = Doc.CoreDoc; |
08 | PDFXEdit.ICabNode options = Op.Params.Root[ "Options" ]; |
09 | options[ "Flags" ].v = ( int )PDFXEdit.PXV_ChangeDocPropsFlag.CDPF_Title | ( int )PDFXEdit.PXV_ChangeDocPropsFlag.CDPF_ViewFlags; |
10 | options[ "ViewFlags" ].v = (1 << ( int )PDFXEdit.PXC_DocumentViewFlags.DocViewFlag_DisplayDocTitle); |
11 | options[ "Title" ].v = "Your custom title" ; |