Overview
The operation allows to create new PDF document.
Parameters
Name
|
Type
|
Description
|
Input
|
Array
|
No input should be specified.
|
Output
|
IUnknown
|
IUnknown -based object containing the IPXC_Document that was created.
|
Options
|
Dictionary
|
Dictionary with options of the operation.
|
Sample
02 | private void NewBlankDoc(PDFXEdit.IPXV_MainFrame mainFrm, PDFXEdit.IPXV_Inst Inst) |
04 | int nID = Inst.Str2ID( "op.newBlankDoc" , false ); |
05 | PDFXEdit.IOperation Op = Inst.CreateOp(nID); |
06 | PDFXEdit.ICabNode options = Op.Params.Root[ "Options" ]; |
07 | options[ "PaperType" ].v = 1; |
08 | options[ "StdPaperIndex" ].v = 10; |
09 | options[ "Count" ].v = 11; |
11 | PDFXEdit.IPXC_Document doc = (PDFXEdit.IPXC_Document)Op.Params.Root[ "Output" ].v; |
13 | mainFrm.OpenDocFrom(doc); |