PdfSaveOptions.OutlineTreeExpansionLevel

PdfSaveOptions.OutlineTreeExpansionLevel property

Specifies up to what level the document outline should be expanded when the PDF file is opened in a viewer. 1 - only the first level outline items are shown, 2 - only the first and second level outline items are shown, and so on. Default is 1.

public int OutlineTreeExpansionLevel { get; set; }

See Also