trichview.support
| 
 Re: Width between LeftMargin and RightMargin  | 
| 
 Author  | 
 Message  | 
| 
 Sergey Tkachenko  | 
 Posted: 05/29/2002 12:33:28 The simplest way - use OnPagePrepaint event, parameter PrintAreaRect. This rectangle does not include margins of RVPrint, but include margins of RichView. May be I'll be able to give a better advice if you'll say what you want to implement. > Thanks. > but if on printer page,How to get the page Width between LeftMargin and > RightMargin? > > ThisWidth = rve.RVData.DocumentWidth - rve.LeftMargin - rve.RightMargin. > > > > Of course, document must be formatted, otherwise rve.RVData.DocumentWidth > is > > undefined. > > > > > in editor > > > > On printer page, or in editor? > > > > > > > > > How to get the page Width between LeftMargin and RightMargin? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  | 
Powered by ABC Amber Outlook Express Converter