RichEdit lines printed per page
Publicado: Mar May 07, 2019 3:24 pm
Hi,
There is a way to retrieve the number of lines that can be printed per page using a RichEdit?
Considering I'm using a A4 paper, that is 210x297mm sized, I need to fix the first and last line printed in each page.
Counting the number of lines doesn't help, cause the text font size can vary and it leads the "fixed" lines to be printed in the wrong places.
What the "GetPrintHeight" RichEdit method returns exactly?
TIA,
André Corrêa
There is a way to retrieve the number of lines that can be printed per page using a RichEdit?
Considering I'm using a A4 paper, that is 210x297mm sized, I need to fix the first and last line printed in each page.
Counting the number of lines doesn't help, cause the text font size can vary and it leads the "fixed" lines to be printed in the wrong places.
What the "GetPrintHeight" RichEdit method returns exactly?
TIA,
André Corrêa