OutlineOptions.CreateOutlinesForHeadingsInTables

OutlineOptions CreateOutlinesForHeadingsInTables property. Specifies whether or not to create outlines for headings paragraphs formatted with the Heading styles inside tables.

OutlineOptions.CreateOutlinesForHeadingsInTables property

Specifies whether or not to create outlines for headings (paragraphs formatted with the Heading styles) inside tables.

public bool CreateOutlinesForHeadingsInTables { get; set; }

Remarks

Default value is false.

Examples

Shows how to configure outlines in PDF.

PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.OutlineOptions.HeadingsOutlineLevels = 3;
pdfSaveOptions.OutlineOptions.ExpandedOutlineLevels = 2;
pdfSaveOptions.OutlineOptions.CreateMissingOutlineLevels = true;
pdfSaveOptions.OutlineOptions.CreateOutlinesForHeadingsInTables = true;

Converter.Create()
    .From(MyDir + "TOC.docx")
    .To(ArtifactsDir + "PdfSaveOptions.OutlineOptions.pdf", pdfSaveOptions)
    .Execute();

See Also