| DocxDocumentAddTableOfContents(String, String, Int32, DocxDocumentSummaryOrientationEnum, Boolean, Boolean) Method |
Adds the summary.
Namespace: QsGemBox.DocxAssembly: 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
)
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 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