Forum > RichMemo

RichMemo and next page for print

(1/1)

Fabius:
Hello

I can search google duck and others
I can't find how to print a next page for richmemo

you have an idea ?

thank you in advance


My code ...
   if(NnnnLignes > 65) then
   begin
   RichMemo1.
   end; 

skalogryz:
when you call Print() method, you need to pass TPrintParams structure.
TPrintParams contains "SelStart" and "SelLength" parameters.
Those are the first character (not the line or page) to be printed. SelLength is the number of characters to print.

It's up to you how you would consider the when the "next page" starts as long as you provide the proper SelStart and SelLength values

Fabius:
Thank

I Try

Navigation

[0] Message Index

Go to full version