Section.BeginUpdateHeader(HeaderFooterType) Method
Starts editing the document’s header of the specified type.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
type | Header |
A Header |
#Returns
Type | Description |
---|---|
Sub |
A Sub |
#Remarks
Use the Section.BeginUpdateHeader - Section.EndUpdateHeader method pair to edit header content. If the document has no header as yet, this method creates a header of the specified type and opens it for editing.
You can use the Section.HasHeader method to determine whether the document already has a header.
#Example
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the BeginUpdateHeader(HeaderFooterType) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.