Example #1
0
    public static void Example()
    {
        string strPath;

        strPath = System.AppDomain.CurrentDomain.BaseDirectory;

        // Instantiate Object
        activePDF.API.DocConverterWBE.DocConverter oDCw = new activePDF.API.DocConverterWBE.DocConverter();

        IResult irSuccess       = new Result(Code.Success, "ConvertToPDF");
        IResult intConvertToPDF = oDCw.ConvertToPDF(strPath + "word.doc", strPath + "word.pdf");

        if (intConvertToPDF.Status != irSuccess.Status)
        {
            ErrorHandler("ConvertToPDF", intConvertToPDF.Status + " - " + intConvertToPDF.Details);
        }

        // Release Object
        oDCw = null;

        // Process Complete
        WriteResults("Done!");
    }
Example #2
0
    public static void Example()
    {
        int    intDoPrint;
        string strPath;
        int    intOpenInputFile;
        string strFieldInfo;

        strPath = System.AppDomain.CurrentDomain.BaseDirectory;

        // Instantiate Object
        NameSpace.Class objVAR = new NameSpace.Class();


        // Release Object
        objVAR = null;

        // Instantiate Object
        APDocConv.APDocConverter oDC = new APDocConv.APDocConverter();


        // Release Object
        oDC = null;

        // Instantiate Object
        activePDF.API.DocConverterWBE.DocConverter oDCw = new activePDF.API.DocConverterWBE.DocConverter();


        // Release Object
        oDCw = null;

        // Instantiate Object
        APMeridian.Meridian oMER = new APMeridian.Meridian();


        // Release Object
        oMER = null;

        // Instantiate Object
        APServer.Server oSVR = new APServer.Server();


        // Release Object
        oSVR = null;

        // Instantiate Object
        APToolkitNET.Toolkit oTK = new APToolkitNET.Toolkit();


        // Release Object
        oTK = null;

        // Instantiate Object
        APWebGrbNET.APWebGrabber oWG = new APWebGrbNET.APWebGrabber();


        // Release Object
        oWG = null;

        // Instantiate Object
        APXtractor.Xtractor oXT = new APXtractor.Xtractor();


        // Release Object
        oXT = null;