Header/Footer heights

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
vit
Posts: 115
Joined: Tue Feb 03, 2009 3:11 pm

Header/Footer heights

Post by vit »

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

Thanks!
vit
Posts: 115
Joined: Tue Feb 03, 2009 3:11 pm

Post by vit »

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: 17524
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

SRVE.GetHeaderOffs100Pix(PageNo), SRVE.GetFooterOffs100Pix(PageNo)
vit
Posts: 115
Joined: Tue Feb 03, 2009 3:11 pm

Post by vit »

Thanks!
Post Reply