Hello, how can I get different headers in the same document?
I'm using srichviewedit
Different heading
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Different heading
Different heading for different pages?
SRichViewEdit supports headers for the first page, odd and even pages.
If you want to enable them in user interface of RichViewActions, you can set checkboxes "special headers and footers for the first page" and "special headers and footers for odd and even pages".
If you want to enable them in code, assign True to SRV.PageProperty.TitlePage and SRV.PageProperty.FacingPages.
SRichViewEdit supports headers for the first page, odd and even pages.
If you want to enable them in user interface of RichViewActions, you can set checkboxes "special headers and footers for the first page" and "special headers and footers for odd and even pages".
If you want to enable them in code, assign True to SRV.PageProperty.TitlePage and SRV.PageProperty.FacingPages.
Re: Different heading
Thanks for replying, in fact what I need is to insert a variable where I can change its value in the header of each page, as if it were an accountant where I freely assign its contents. is this possible?
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Different heading
Sorry, no. There are page number and page count fields, otherwise, headers are identical for all pages where they are displayed.
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Different heading
You can draw your data on page in OnPaintPage event
Re: Different heading
Could you show me an example code of how to do this on the onpaintpage with the count in the header?
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Different heading
You can see the demo in ScaleRichView\Demos\CustomDraw\Header and Footer folder.