Example #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");
        }
Example #2
0
 public void Setup(PXV_Inst pInstance)
 {
     m_Inst = pInstance;
 }