Hi Christian,

solved. I have seen on dynapdf documentation that when the pageBreak is called, 
the coordinate system is always bottom-up.
If I set it to topdown again, all is working as expected

thanks,

     Giulio

Il giorno 02/mag/2013, alle ore 11:12, Giulio Mastrosanti 
<[email protected]> ha scritto:

> Hi Christian,
> 
> thank you for the reply, but unfortunately your suggestion doesn' t solve the 
> problem on my software
> 
> to test the thing on the simplest way, I have modified you ' Create PDF with 
> page wrap' example:
> 
> I put 
> 
> call pdf.SetTextRect(50, 200, pdf.GetPageWidth-100, 500)
> 
> before the WriteFText command, and then I put
> 
> call me.SetTextRect(50, 100, me.GetPageWidth-100, 500) 
> 
> on thne PageBreak event.
> 
> this should result on the first page with a text block starting at a certain 
> point, and f the following pages with the text block starting a little higher
> 
> but the result is the first page with the correct text block, and two 
> subsequent pages with the text starting near the end of the page and with 
> some text truncated at the bottom of the page
> 
>     Giulio
> 
> 
> 
> 
> 
> 
> 
> 
> Il giorno 30/apr/2013, alle ore 19:09, Christian Schmitz 
> <[email protected]> ha scritto:
> 
>> 
>> Am 30.04.2013 um 16:13 schrieb Giulio Mastrosanti <[email protected]>:
>> 
>>> Hi,
>>> 
>>> I have tried to change the textrect  putting a SetTextRect call on the 
>>> PageBreak event, but this seems to interrupt creation of new pages.
>> 
>> 
>> But that is the right way.
>> 
>> In the PageBreak event you do something like this:
>> 
>> call  EndPage                                
>> call  Append                         
>> call SetTextRect(r.PosX, r.PosY, r.Width, r.Height)
>> return 0
>> 
>> Can you try?
>> 
>> Greetings
>> Christian
>> 
>> -- 
>> Read our blog about news on our plugins:
>> 
>> http://www.mbsplugins.de/
>> 
>> _______________________________________________
>> Mbsplugins_monkeybreadsoftware.info mailing list
>> [email protected]
>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to