PdfCoreOptions.ExpandedOutlineLevels

PdfCoreOptions.ExpandedOutlineLevels property

指定在查看 PDF 文件时文档大纲中展开的层数。 0 - 文档大纲未展开。 1 - 文档中的第一层项目展开等等。 默认值为 0.

public int ExpandedOutlineLevels { get; set; }

也可以看看