Exemplo n.º 1
0
        public static void Main()
        {
            // The path to the documents directory.
            string dataDir = Path.GetFullPath("../../../Data/");

            // Instantiate LoadOption object using CGMLoadOption
            Aspose.Pdf.CgmLoadOptions cgmload = new Aspose.Pdf.CgmLoadOptions();
            // instantiate Document object
            Document doc = new Document(dataDir+ "TECHDRAW.CGM", cgmload);
            // Save the resultant PDF document
            doc.Save(dataDir+ "TECHDRAW.pdf");
        }
Exemplo n.º 2
0
        public static void Run()
        {
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_AsposePdf_DocumentConversion();

            // Instantiate LoadOption object using CGMLoadOption
            Aspose.Pdf.CgmLoadOptions cgmload = new Aspose.Pdf.CgmLoadOptions();
            // instantiate Document object
            Document doc = new Document(dataDir+ "TECHDRAW.CGM", cgmload);
            // Save the resultant PDF document
            doc.Save(dataDir+ "TECHDRAW.pdf");
        }
Exemplo n.º 3
0
        public static void Run()
        {
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_AsposePdf_DocumentConversion();

            // Instantiate LoadOption object using CGMLoadOption
            Aspose.Pdf.CgmLoadOptions cgmload = new Aspose.Pdf.CgmLoadOptions();
            // instantiate Document object
            Document doc = new Document(dataDir + "TECHDRAW.CGM", cgmload);

            // Save the resultant PDF document
            doc.Save(dataDir + "TECHDRAW.pdf");
        }
Exemplo n.º 4
0
        public static void Main()
        {
            // The path to the documents directory.
            string dataDir = Path.GetFullPath("../../../Data/");

            // Instantiate LoadOption object using CGMLoadOption
            Aspose.Pdf.CgmLoadOptions cgmload = new Aspose.Pdf.CgmLoadOptions();
            // instantiate Document object
            Document doc = new Document(dataDir + "TECHDRAW.CGM", cgmload);

            // Save the resultant PDF document
            doc.Save(dataDir + "TECHDRAW.pdf");
        }