Wiki Markup |
---|
{description} {excerpt}Sets or returns an {{int}} object that represents the number of heading levels that will be displayed by Word in the outline view for this document. This can be set to a number between 1 and 9.{excerpt} {signature:C#} public int DisplayedOutlineLevels{ get; set; } {signature}{signature:vb.net} Public Property DisplayedOutlineLevels() As Integer {signature} {remarks}This option is set to {{9}} \(all levels\) by default. MS Word equivalent: Outlining toolbar > Show Level {remarks} {example}{code:csharp|title=C#} //--- Return DisplayOutlineLevels int displayOutlineLevels = viewSettings.DisplayOutlineLevels; //--- Set ZoomType viewSettings.DisplayOutlineLevels = 4; {code} {code:vb.net|title=vb.net} '--- Return DisplayOutlineLevels Dim displayOutlineLevels As Integer = viewSettings.DisplayOutlineLevels '--- Set DisplayOutlineLevels viewSettings.DisplayOutlineLevels = 4 {code} {example} |
Page History
Overview
Content Tools