trichview.com

trichview.support




FooterYMM and BottomMarginMM


Return to index


Author

Message

Stefan M. Huber

Posted: 10/08/2004 18:23:58


I have another question about footers. Let me explain the situation first:


I have a TRichView (RVFooter) that I simply fill with

   AddBreakEx(1, rvbsLine, clBlack);

   AddNL(' ', 0, 3);


Reason: I want to print "Page x from y" while printing. This works fine.


I am having troubles with the borders.


  I am setting FooterYMM of the main RV component (a TRVPrint instance) to 

a given width. If I understood it right, YMM specifies the distance from 

the lower bottom of the paper to the lower bottom of the footer element.


If I set it to 0, I'd expect a footer to be placed at the very bottom of 

the page. Instead, the preview does not show a footer at all.


If I gradually increase FooterYMM, I can see a little more of the footer 

each time. So it seems that FooterYMM does measure the distance from the 

bottom of the page to the *top* of the footer. Am I completely wrong?


Stefan





Powered by ABC Amber Outlook Express Converter