Page width in pixel
I'm trying to export the coordinate information from mscz. I get cusor.pos as QPointF. how ever, this coordinate is in pixel, if I want to redraw this cursor on the exported png file, I must know what the pagewidth of mscz in pixel. In previos version, seems it is 794, however, in this version,seems it is 900? Is there any method I can get page width in pixel?
Pageformat seems it's not the right one, since the unit of that is mm.
Thank you.