Dear Sir
I just want to find a solution converting word to pdf. And Aspose sound a good one.
But when I download the assembly for the trial use, I always got a error: Requested a name string that is not present in the font.
Below is my code:
using System;
using System.Collections.Generic;
using System.Text;
using Aspose.Words;
using System.IO;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Aspose.Words.Document ddd = new Document("c:\\test.doc");
ddd.Save("c:\\fff.doc");
ddd.Save("c:\\ffff.txt", SaveFormat.Text);
ddd.Save("c:\\fdf.pdf", SaveFormat.Pdf);
}
}
}
I can get the right doc and txt file but when it came to the pdf save method, I met the error.
Could you tell me whether it is a demo restriction or what else?
thank you!
PS: I use WinXP and Microsoft Visual Studio 2005