Esempio n. 1
0
        public void InitPdfControl()
        {
            var pathToPdfOptimizer = Path.Combine(Environment.CurrentDirectory, "PDFOptimizer.pvp");

            MInst = new PXV_Inst();
            MInst.Init();
            MInst.StartLoadingPlugins();
            MInst.AddPluginFromFile(pathToPdfOptimizer);
            MInst.FinishLoadingPlugins();
            MPxcInst = MInst.GetExtension("PXC") as IPXC_Inst;
            if (MPxcInst != null)
            {
                FsInst = (IAFS_Inst)MPxcInst.GetExtension("AFS");
            }
            Debug.WriteLine("InitPdfControl() succesfull");
        }
Esempio n. 2
0
 public Pdf()
 {
     InitializeComponent();
     inst_pxc = (IPXC_Inst)axPXV_Control1.Inst.GetExtension("PXC"); // Create new IPXC instance
 }
Esempio n. 3
0
 public Pdf()
 {
     InitializeComponent();
     inst_pxc = (IPXC_Inst)axPXV_Control1.Inst.GetExtension("PXC"); // Create new IPXC instance
 }