I'm in the process of converting from pdfnet11 to the current PDFnet.
I have the following:
//Get page size
Page apage = this.pageIterator.Current();
Rect myBox = apage.GetMediaBox();
bbox = new Rect(myBox);
pageWidth = bbox.Width();
pageHeight = bbox.Height();
However, I get the following error on the bbox assigment line:
Argument '1': cannot convert from 'pdftron.PDF.Rect' to
'pdftron.SDF.Obj'
How do I refactor to make this work?
Thanks!
Leah