| DocxDocumentAddTableOfContents Method (String, String, Int32, DocxDocumentSummaryOrientationEnum, Boolean, Boolean) |
Adds the summary.
Namespace:
QsGemBox.Docx
Assembly:
QsGemBox (in QsGemBox.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax public void AddTableOfContents(
string title,
string styleName,
int position,
DocxDocumentSummaryOrientationEnum orientation,
bool addPageBreak,
bool updateTocOnOpening
)
Public Sub AddTableOfContents (
title As String,
styleName As String,
position As Integer,
orientation As DocxDocumentSummaryOrientationEnum,
addPageBreak As Boolean,
updateTocOnOpening As Boolean
)
public:
void AddTableOfContents(
String^ title,
String^ styleName,
int position,
DocxDocumentSummaryOrientationEnum orientation,
bool addPageBreak,
bool updateTocOnOpening
)
member AddTableOfContents :
title : string *
styleName : string *
position : int *
orientation : DocxDocumentSummaryOrientationEnum *
addPageBreak : bool *
updateTocOnOpening : bool -> unit
Parameters
- title
- Type: SystemString
The title. - styleName
- Type: SystemString
Style name to apply to title. If doesn't exists will be used the 'Heading 1' style. - position
- Type: SystemInt32
The position. -1 at the end of the document. - orientation
- Type: QsGemBox.DocxDocxDocumentSummaryOrientationEnum
Indicates the summary page orientation. - addPageBreak
- Type: SystemBoolean
Indicates if add an empty page after the summary. - updateTocOnOpening
- Type: SystemBoolean
Indicate if update TOC during opening document or now.
See Also