Click or drag to resize

DocxDocumentAddTableOfContents(String, String, Int32, DocxDocumentSummaryOrientationEnum, Boolean, Boolean) Method

Adds the summary.

Namespace: QsGemBox.Docx
Assembly: QsGemBox (in QsGemBox.dll) Version: 27.2.0-beta
Syntax
public void AddTableOfContents(
	string title,
	string styleName,
	int position,
	DocxDocumentSummaryOrientationEnum orientation,
	bool addPageBreak,
	bool updateTocOnOpening
)

Parameters

title  String
The title.
styleName  String
Style name to apply to title. If doesn't exists will be used the 'Heading 1' style.
position  Int32
The position. -1 at the end of the document.
orientation  DocxDocumentSummaryOrientationEnum
Indicates the summary page orientation.
addPageBreak  Boolean
Indicates if add an empty page after the summary.
updateTocOnOpening  Boolean
Indicate if update TOC during opening document or now.
See Also