Header/Footer heights

Public forum for discussing TScaleRichView (shareware addon to TRichView providing WYSIWYG editing)
Post Reply
vit
Posts: 112
Joined: Tue Feb 03, 2009 3:11 pm

Header/Footer heights

Post by vit » Fri Oct 02, 2015 9:26 am

How to find out heights of a header and a footer of SRVE?

Thanks!

vit
Posts: 112
Joined: Tue Feb 03, 2009 3:11 pm

Post by vit » Fri Oct 02, 2015 10:53 am

What I actually need is a distance between the top border of the page and the top point of the cursor as it placed at the first line of SRVE.RichViewEdit.

So I suppose this distance is SRVE.TopMargin100Pix + Header Text

And similarly I need a distance between the bottom border of the page and the bottom point of the cursor placed at the last line of SRVE.RichViewEdit

Sergey Tkachenko
Site Admin
Posts: 13470
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Fri Oct 02, 2015 2:09 pm

SRVE.GetHeaderOffs100Pix(PageNo), SRVE.GetFooterOffs100Pix(PageNo)

vit
Posts: 112
Joined: Tue Feb 03, 2009 3:11 pm

Post by vit » Sat Oct 03, 2015 7:51 am

Thanks!

Post Reply