Error in the Save method

Hello,
i’m trying Aspose.PDF .Net version, but i have the following problem.

I obtain the error :

“Input string was not in a correct format.” at the line of the pdf.Save(@“c:\test.pdf”);
The error occur also if i replace the code with the example of the guide…

Pdf pdf = new Pdf();

pdf.Security = new Security();
pdf.Security.IsCopyingAllowed = false;
pdf.PageSetup.PageHeight = PageSize.A2Height;

Section section = new Section(pdf);
pdf.Sections.Add(section);

Text text1 = new Text(section);
text1.Margin.Top = 30;
section.Paragraphs.Add(text1);

Segment segment1 = new Segment(text1);
text1.Segments.Add(segment1);
segment1.Content = “this is text content”;

pdf.Save(@“c:\test.pdf”);

Sorry for my english…

Thanks in advance

Dear fra.org,

Thanks for your consideration.

I have tested your code and there was no error. @“c:\test.pdf” is a standard using in C#. Please make sure you can use it in other programs.