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: 26.4.0.0 (26.4.0.0)
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