trichview.com

trichview.support




Margins in Footers & Headers


Return to index


Author

Message

Tavo

Posted: 11/05/2002 2:47:53


Hello:


I continue with Footers and Headers :-)

I'm not capable of make Header's & Footers Left margins adjust to the

defined in the TRVPrint: RVPrint1.LeftMarginMM


My code is like this


begin


   if not IsEmpty(Header) then

      RVPrint1.SetHeader(Header.RVData)

   else RVPrint1.SetHeader(nil);


   if not IsEmpty(Footer) then

      RVPrint1.SetFooter(Footer.RVData)

   else RVPrint1.SetFooter(nil);


   RVPrint1.FormatPages(rvdoALL);


   if RVPrint1.PagesCount>0 then

      RVPrint1.Print('Some Document',1,False);


end ;


But the header and footer only take value of RVPrint.LeftMargin. What

i'm doing wrong?


Thanks.

Tavo.






Powered by ABC Amber Outlook Express Converter