I have a generic GDI exception on a vector PDF, I attach it, my code is:
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(streamInput);
bool IsLandscape = IsPageLandscape(pdfDocument.Pages.First());
var book…...your application runs in a restricted environment (like a web application)...