Hi,
I'm getting an exception when trying to open my PDF file:
Message = "The input string '1.00' was not in a correct format." The PDF in question is created using Syncfusion Pdf. The file loads until I add the below code. If that code is part of the Pdf creation, then SfPdfViewer can't load the PDF.
Edit: The file is still being created and I can open it with Acrobat Reader.
//Sidebar section A
x =0;
y += arialRegularFont.Height+ lineSpace +4;
RectangleF sidebarSectionA =new(x, headerHeight, sectionSpace, y - headerHeight);
graphics.DrawRectangle(borderPen, lightYellowBrush, sidebarSectionA);
PdfGraphicsState state = graphics.Save();
graphics.TranslateTransform(x, y);
graphics.RotateTransform(-90);
graphics.DrawString("SECTION \"A\"", arialBoldFont, blackBrush,newRectangleF(0,0, y - headerHeight, sectionSpace), format);
graphics.Restore(state);