TPrintPreview drawText problem

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

TPrintPreview drawText problem

Postby john12345 » October 13th, 2017, 7:15 am

Hello,
Recently, I have encountered the TPrintPreview problem with "canvas.drawText".
When I set the alignment to the right "DT_RIGTH" the text does not fit in the rectangle.

simple example:
preview.drawText (canvas.handle, 'test test test', -1, r, DT_RIGHT);

Please advise.
Piotr
Attachments
Bez tytułu.jpg
Bez tytułu.jpg (4.17 KiB) Viewed 130 times
john12345
Member
Member
 
Posts: 2
Joined: October 12th, 2017, 10:35 am

Re: TPrintPreview drawText problem

Postby john12345 » October 13th, 2017, 8:16 am

The problem exists when set mmLoMetric in units.
john12345
Member
Member
 
Posts: 2
Joined: October 12th, 2017, 10:35 am


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest