Skip to main content

Section.BeginUpdateHeader() Method

Starts editing the document's header for the current section.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v14.2.Core.dll

#Declaration

SubDocument BeginUpdateHeader()

#Returns

Type Description
SubDocument

A SubDocument instance that is the header being edited.

#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 and opens it for editing. If different headers for the first, odd or even pages are specified, the BeginUpdateHeader method starts editing the odd header.

You can use the Section.HasHeader property to determine whether the document already has a header.

See Also