![]() ![]() RadFlowDocument document = new RadFlowDocument() () document.HasDifferentEvenOddPageHeadersFooters = true Header defaultHeader = ().Headers.Add() Paragraph defaultHeaderParagraph = () defaultHeaderParagraph.TextAlignment = Alignment.Right ("This is a sample odd page header.") Header evenHeader = ().Headers.Add(HeaderFooterType.Even) Paragraph evenHeaderParagraph = () evenHeaderParagraph.TextAlignment = Alignment.Left ("This is a sample even page header.") Linking Headers/Footers to Previous Section Headers/Footers Headers of all HeaderFooterType types can be created using the code snippet in Example 1: The value is in device independent pixels (1/96 inch). Section.FooterBottomMargin: Gets or sets the bottom margin of the footer. ![]() Section.HeaderTopMargin: Gets or sets the top margin of the header. If set to false (which is the default), First header/footer is not respected. Section.HasDifferentFirstPageHeaderFooter: If set to true, First header/footer is used for the first page of the section. If set to false (which is the default), Even header/footer is not respected. RadFlowDocument.HasDifferentEvenOddPageHeadersFooters: If set to true, Even header/footer is used for even document pages. Visualization of headers and footers is additionally affected by the following properties: Even: Used on even numbered pages of the Section.First: Used on the first page of the Section.Default: Default header/footer for the Section pages.Headers and Footers are properties of the Section element and each Section can have the following types of Headers and Footers: Each Section contains three Header and three Footer instances. Header and Footer elements are block-container elements, i.e. ![]() ![]() Download free 30-day trial Headers and Footers ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |