But unless I misunderstood Tim he is talking about a graphics object. That is inside a PDFdocument but it should still be a graphics object and understand the API1 ways eg FontName instead of TextFont …
I’ll have to send the project in because I didn’t have either of those successful results. It’s upgrading a Shorts project, so I was expecting it to be as easy as using the existing Graphics code. At least that’s how PDFDocument’s been advertised.
Sorry to have disappeared, I wish I could have been more responsive.
Using the Graphics class methods and properties is how PDFDocument was advertised
Anyway on one of my side-projects I had to convert myself a large project from API 1.0 to API 2.0 (everything, including migrating controls to DesktopUIControls). It didn’t took me more than 4 hours using, mostly, the results from Analyze Project.
I’ve converted projects to API 2.x in short time, but when that happened everything from Xojo was working as expected. Framework functions to analyzer.
When pausing the debugger, the PDFGraphics object is showing me “Times” as the font, which as a string literal does not exist in this project, nor what I would expect from a property that doesn’t do anything at all.