Hello,
I am currently evaluating this product for Word to Pdf conversion. I have take source from this website itself but my program does not build and error is Error 1 'Spire.Doc.FileFormat' does not contain a definition for 'PDF' C:\TestProjects\RainbowPDFConverter\RainbowPDFConverter\Program.cs 22 57 RainbowPDFConverter
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Spire.Doc;
using Spire.Doc.Documents;
namespace RainbowPDFConverter
{
class Program
{
static void Main(string[] args)
{
Document document = new Document();
document.LoadFromFile(@"E:\work\documents\TestSample.docx");
document.SaveToFile("toPDF.PDF", FileFormat.PDF);
//Launch Document
System.Diagnostics.Process.Start("toPDF.PDF");
}
}
}