コード例 #1
0
ファイル: svr_2009.cs プロジェクト: ghengistom/sample-site
    public static void Example()
    {
        string strPath;
        int    intPSToPDF;

        strPath = System.AppDomain.CurrentDomain.BaseDirectory;

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

        intPSToPDF = oSVR.PSToPDF(strPath + "ps.ps", strPath + "ps.pdf");
        if (intPSToPDF != 0)
        {
            ErrorHandler("PSToPDF", intPSToPDF);
        }

        // Release Object
        oSVR = null;

        // Process Complete
        WriteResults("Done!");
    }