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"); }
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"); }
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"); }
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"); }