Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CS/RichEditAPISample/CodeExamples/HeaderAndFooter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static void ModifyFooter(Document document)
DocumentRange range = myFooter.InsertText(myFooter.CreatePosition(0), " PAGE NUMBER ");
Field fld = myFooter.Fields.Create(range.End, "PAGE \\* ARABICDASH");
myFooter.Fields.Update();
firstSection.EndUpdateHeader(myFooter);
firstSection.EndUpdateFooter(myFooter);
// Display the footer of the HeaderFooterType.First type on the first page.
firstSection.DifferentFirstPage = true;
#endregion #ModifyFooter
Expand Down