Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - next line after drawwrapped text
  FAQ FAQ  Forum Search   Register Register  Login Login


Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

next line after drawwrapped text

 Post Reply Post Reply
Author
aborys View Drop Down
New Member
New Member


Joined: 11 Nov 2016
Points: 1
Post Options Post Options   Quote aborys Quote  Post ReplyReply Direct Link To This Post Topic: next line after drawwrapped text
    Posted: 11 Nov 2016 at 2:22pm
How do you calculate the next line after drawwrapped text. I was expecting the fuunction to return the number of lines used, but it just returns 1

Thanks

    line := 1;
    For x := 0 To ftemplate.Count - 1 Do
    Begin
      si := trunc(PDF.DrawwrappedText(20, line * h, 150, ftemplate[x]));
      PDF.DrawText(1, line * h, Format('%d', [si]));
      Inc(line, si);
    End;
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.09
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.047 seconds.