Hi,
I'm using dynapdf on my software to write contracts letters.
the pages of the contract have all an heading with the company logo, the first
page has a right aligned text with the customer data, and then there is the
contract text can have a variable length, and can be long more than one page.
to write the contract text I use setTextRect, and then writeFText, letting
dynapdf handling the splitting of the text across multiple pages:
call pdf.SetTextRect(50, 200, pdf.GetPageWidth-100, 500)
call pdf.WriteFText(pdf.ktaJustify, stringa )
my question is:
the textrect is good for the first page of the pdf, because the top border (
200 ) is good calculated to be below of the customer data, but I would like to
have the upper border to be higher on the following pages, since there isn't
the customer info.
is it possible to achieve this result ( hope to have explained it well )
I have tried to change the textrect putting a SetTextRect call on the
PageBreak event, but this seems to interrupt creation of new pages.
thanks for your help,
Giulio
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info