[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Collapse]Office File API
  Demo Application
  Redistribution and Deployment
 [Expand]Spreadsheet Document API
 [Expand]Word Processing Document API
 [Expand]PDF Document API
 [Expand]Excel Export Library
 [Expand]Snap Report API
 [Expand]Zip Compression and Archive API
 [Expand]Barcode Generation API
 [Expand]Unit Conversion API
 [Collapse]API Reference
  [Expand]DevExpress.BarCodes
  [Expand]DevExpress.Compression
  [Expand]DevExpress.Docs.Text
  [Expand]DevExpress.Office
  [Expand]DevExpress.Office.Drawing
  [Expand]DevExpress.Office.Export
  [Expand]DevExpress.Office.Export.Html
  [Expand]DevExpress.Office.Import
  [Expand]DevExpress.Office.Localization
  [Expand]DevExpress.Office.Options
  [Expand]DevExpress.Office.Services
  [Expand]DevExpress.Office.Utils
  [Expand]DevExpress.Pdf
  [Expand]DevExpress.Pdf.Localization
  [Expand]DevExpress.Snap
  [Expand]DevExpress.Spreadsheet
  [Expand]DevExpress.Spreadsheet.Charts
  [Expand]DevExpress.Spreadsheet.Drawings
  [Expand]DevExpress.Spreadsheet.Export
  [Expand]DevExpress.Spreadsheet.Formulas
  [Expand]DevExpress.Spreadsheet.Functions
  [Expand]DevExpress.UnitConversion
  [Expand]DevExpress.XtraPrinting
  [Expand]DevExpress.XtraPrintingLinks
  [Expand]DevExpress.XtraRichEdit
  [Expand]DevExpress.XtraRichEdit.API.Layout
  [Collapse]DevExpress.XtraRichEdit.API.Native
   [Expand]AbstractNumberingList Interface
   [Expand]AbstractNumberingListCollection Interface
    AutoFitBehaviorType Enumeration
   [Expand]Bookmark Interface
   [Expand]BookmarkCollection Interface
   [Expand]Capture Interface
   [Expand]CaptureCollection Interface
   [Expand]CharacterProperties Interface
   [Expand]CharacterPropertiesBase Interface
    CharacterPropertiesMask Enumeration
   [Expand]CharacterStyle Interface
   [Expand]CharacterStyleCollection Interface
   [Expand]CheckBox Interface
    CheckBoxSizeMode Enumeration
    CheckBoxState Enumeration
   [Expand]Comment Interface
   [Expand]CommentCollection Interface
    CompatibilityMode Enumeration
   [Expand]CompatibilitySettings Interface
    ConditionalTableStyleFormattingTypes Enumeration
   [Expand]CustomMark Interface
   [Expand]CustomMarkCollection Interface
   [Expand]Document Interface
   [Expand]DocumentBookmark Class
   [Expand]DocumentBookmarkEnd Class
   [Expand]DocumentBookmarkStart Class
   [Expand]DocumentCheckBox Class
   [Expand]DocumentCommentElement Class
   [Expand]DocumentCommentEnd Class
   [Expand]DocumentCommentStart Class
   [Expand]DocumentCustomProperties Interface
   [Expand]DocumentElementBase Class
    DocumentElementType Enumeration
   [Expand]DocumentEncryption Interface
   [Expand]DocumentFieldCodeEnd Class
   [Expand]DocumentFieldCodeStart Class
   [Expand]DocumentFieldResultEnd Class
   [Expand]DocumentFormFieldBase Class
   [Expand]DocumentHyperlink Class
   [Expand]DocumentHyperlinkEnd Class
   [Expand]DocumentHyperlinkStart Class
   [Expand]DocumentImage Interface
   [Expand]DocumentImageCollection Interface
   [Expand]DocumentImageSource Class
   [Expand]DocumentInlinePicture Class
   [Expand]DocumentIterator Class
   [Expand]DocumentParagraphEnd Class
   [Expand]DocumentParagraphStart Class
   [Expand]DocumentPicture Class
   [Expand]DocumentPosition Class
   [Expand]DocumentProperties Interface
    DocumentProtectionType Enumeration
   [Expand]DocumentRange Interface
   [Expand]DocumentRangeExtensions Class
   [Expand]DocumentRangePermissionEnd Class
   [Expand]DocumentRangePermissionStart Class
   [Expand]DocumentSectionEnd Class
   [Expand]DocumentSectionStart Class
   [Expand]DocumentTableCellBorder Class
   [Expand]DocumentText Class
   [Expand]DocumentTextBox Class
   [Expand]DocumentVisitorBase Class
   [Expand]EncryptionSettings Class
    EncryptionType Enumeration
   [Expand]Field Interface
   [Expand]FieldCollection Interface
   [Expand]FixedRange Class
   [Expand]FormField Interface
   [Expand]FormFieldCollection Interface
    FormFieldTextType Enumeration
    FormFieldType Enumeration
   [Expand]Group Interface
   [Expand]GroupCollection Interface
    HeaderFooterType Enumeration
    HeightType Enumeration
   [Expand]Hyperlink Interface
   [Expand]HyperlinkCollection Interface
   [Expand]IDocumentElement Interface
   [Expand]IDocumentVisitor Interface
    InsertOptions Enumeration
   [Expand]IRegexSearchResult Interface
   [Expand]ISearchResult Interface
    LineNumberingRestart Enumeration
   [Expand]ListLevel Interface
   [Expand]ListLevelProperties Interface
    MailMergeNumberingRestart Enumeration
   [Expand]MailMergeOptions Interface
   [Expand]Match Interface
   [Expand]MergeFieldName Class
    MergeMode Enumeration
    NumberingFormat Enumeration
   [Expand]NumberingList Interface
   [Expand]NumberingListBase Interface
   [Expand]NumberingListCollection Interface
    NumberingType Enumeration
   [Expand]OverrideListLevel Interface
   [Expand]Paragraph Class
    ParagraphAlignment Enumeration
   [Expand]ParagraphCollection Interface
    ParagraphFirstLineIndent Enumeration
    ParagraphLineSpacing Enumeration
   [Expand]ParagraphProperties Interface
   [Expand]ParagraphPropertiesBase Interface
    ParagraphPropertiesMask Enumeration
   [Expand]ParagraphPropertiesWithTabs Interface
   [Expand]ParagraphStyle Interface
   [Expand]ParagraphStyleCollection Interface
   [Expand]RangePermission Class
   [Expand]RangePermissionCollection Class
   [Expand]ReadOnlyBookmarkCollection Interface
   [Expand]ReadOnlyCheckBoxProperties Interface
   [Expand]ReadOnlyCommentCollection Interface
   [Expand]ReadOnlyCustomMarkCollection Interface
   [Expand]ReadOnlyDocumentImageCollection Interface
   [Expand]ReadOnlyFieldCollection Interface
   [Expand]ReadOnlyFormFieldProperties Interface
   [Expand]ReadOnlyHyperlinkCollection Interface
   [Expand]ReadOnlyParagraphCollection Interface
   [Expand]ReadOnlyParagraphProperties Interface
   [Expand]ReadOnlyParagraphPropertiesBase Interface
   [Expand]ReadOnlyParagraphStyle Interface
   [Expand]ReadOnlySectionLineNumbering Interface
   [Expand]ReadOnlySectionMargins Interface
   [Expand]ReadOnlySectionPage Interface
   [Expand]ReadOnlySectionPageNumbering Interface
   [Expand]ReadOnlySectionsProperties Interface
   [Expand]ReadOnlyShapeCollection Interface
   [Expand]ReadOnlyTableCellBorderProperties Class
   [Expand]ReadOnlyTableCollection Interface
   [Expand]ReadOnlyTextProperties Interface
   [Expand]ReadOnlyTextPropertiesBase Interface
    SearchDirection Enumeration
    SearchOptions Enumeration
   [Collapse]Section Interface
     Section Members
    [Expand]Section Properties
    [Collapse]Section Methods
     [Expand]BeginUpdateFooter Method
     [Expand]BeginUpdateHeader Method
      EndUpdateFooter Method
      EndUpdateHeader Method
      HasFooter Method
      HasHeader Method
     [Expand]IsFooterLinkedToNext Method
     [Expand]IsFooterLinkedToPrevious Method
     [Expand]IsHeaderLinkedToNext Method
     [Expand]IsHeaderLinkedToPrevious Method
     [Expand]LinkFooterToNext Method
     [Expand]LinkFooterToPrevious Method
     [Expand]LinkHeaderToNext Method
     [Expand]LinkHeaderToPrevious Method
     [Expand]UnlinkFooterFromNext Method
     [Expand]UnlinkFooterFromPrevious Method
     [Expand]UnlinkHeaderFromNext Method
     [Expand]UnlinkHeaderFromPrevious Method
   [Expand]SectionCollection Interface
   [Expand]SectionColumn Class
   [Expand]SectionColumnCollection Class
   [Expand]SectionColumns Interface
   [Expand]SectionLineNumbering Interface
   [Expand]SectionMargins Interface
   [Expand]SectionPage Interface
   [Expand]SectionPageNumbering Interface
    SectionStartType Enumeration
   [Expand]SelectionCollection Class
   [Expand]Shape Interface
   [Expand]ShapeCollection Interface
   [Expand]ShapeFill Interface
    ShapeHorizontalAlignment Enumeration
   [Expand]ShapeLine Interface
    ShapeRelativeHorizontalPosition Enumeration
    ShapeRelativeVerticalPosition Enumeration
    ShapeVerticalAlignment Enumeration
    StrikeoutType Enumeration
   [Expand]SubDocument Interface
    SubDocumentType Enumeration
   [Expand]SyntaxHighlightProperties Class
   [Expand]SyntaxHighlightToken Class
    TabAlignmentType Enumeration
   [Expand]TabInfo Class
   [Expand]TabInfoCollection Class
   [Expand]Table Interface
    TabLeaderType Enumeration
   [Expand]TableBorder Interface
    TableBorderLineStyle Enumeration
   [Expand]TableBorders Interface
   [Expand]TableCell Interface
   [Expand]TableCellBorder Interface
   [Expand]TableCellBorders Interface
   [Expand]TableCellCollection Interface
    TableCellProcessorDelegate Delegate
   [Expand]TableCellPropertiesBase Interface
    TableCellPropertiesMask Enumeration
   [Expand]TableCellStyle Interface
   [Expand]TableCellStyleCollection Interface
    TableCellVerticalAlignment Enumeration
   [Expand]TableCollection Interface
   [Expand]TableConditionalStyle Interface
   [Expand]TableConditionalStyleProperties Interface
    TableLayoutType Enumeration
    TableLookTypes Enumeration
   [Expand]TablePropertiesBase Interface
    TablePropertiesMask Enumeration
   [Expand]TableRow Interface
    TableRowAlignment Enumeration
   [Expand]TableRowCollection Interface
    TableRowProcessorDelegate Delegate
   [Expand]TableStyle Interface
   [Expand]TableStyleCollection Interface
   [Expand]TemplateAbstractNumberingList Interface
   [Expand]TextBox Interface
    TextBoxSizeRule Enumeration
    TextWrappingSide Enumeration
    TextWrappingType Enumeration
    UnderlineType Enumeration
    VerticalMergingState Enumeration
    WidthType Enumeration
  [Expand]DevExpress.XtraRichEdit.API.Native.Implementation
  [Expand]DevExpress.XtraRichEdit.Commands
  [Expand]DevExpress.XtraRichEdit.Export
  [Expand]DevExpress.XtraRichEdit.Export.Html
  [Expand]DevExpress.XtraRichEdit.Export.PlainText
  [Expand]DevExpress.XtraRichEdit.Export.Rtf
  [Expand]DevExpress.XtraRichEdit.Forms
  [Expand]DevExpress.XtraRichEdit.Import
  [Expand]DevExpress.XtraRichEdit.Localization
  [Expand]DevExpress.XtraRichEdit.Services
  [Expand]DevExpress.XtraRichEdit.Utils
  [Expand]DevExpress.XtraSpreadsheet
  [Expand]DevExpress.XtraSpreadsheet.Export
  [Expand]DevExpress.XtraSpreadsheet.Export.Html
  [Expand]DevExpress.XtraSpreadsheet.Import
  [Expand]DevExpress.XtraSpreadsheet.Localization
  [Expand]DevExpress.XtraSpreadsheet.Services
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Section.EndUpdateHeader Method

Finalizes editing of the section's header.

Namespace:DevExpress.XtraRichEdit.API.Native
Assembly:DevExpress.RichEdit.v19.1.Core.dll

Expanded Syntax

Parameters

document
Type: SubDocument
A SubDocument instance, representing the header open for editing.

Expanded Remarks

Use the BeginUpdateHeader - EndUpdateHeader method pair to edit header content.

Expanded Example

The following code snippet opens the first section's header for editing. The header type is HeaderFooterType.First, so it is displayed for the first page only if the corresponding mode is enabled (use the DifferentFirstPage property). Then, the text string and a PAGE field are inserted and the EndUpdateHeader method is called to finalize the modification.

Expanded See Also

Is this topic helpful?​​​​​​​