soundbomber
Member
- Joined
- Nov 29, 2010
- Messages
- 6
- Programming Experience
- 5-10
Hello,
I have a document printed to a PrintPreview and then to a printer. I am using graphics.measurestring to position some custom subscript text. My problem is that upon examination of the printed output, the position of my subscript text is incorrect, but it is correct on the screen printpreview. I am using identical code for both the print preview and the printed output. The values returned from the measurestring are also identical yet there is this discrepency!
It's hard to tell but perhaps this only becomes apparent when measuring long strings?
Attached is a graphic showing the problem, the red rectangles indicate the width of the measured string when drawn to the graphics surface.
Any help would be appreciated.
I have a document printed to a PrintPreview and then to a printer. I am using graphics.measurestring to position some custom subscript text. My problem is that upon examination of the printed output, the position of my subscript text is incorrect, but it is correct on the screen printpreview. I am using identical code for both the print preview and the printed output. The values returned from the measurestring are also identical yet there is this discrepency!
It's hard to tell but perhaps this only becomes apparent when measuring long strings?
Attached is a graphic showing the problem, the red rectangles indicate the width of the measured string when drawn to the graphics surface.
Any help would be appreciated.
Attachments
Last edited: