Wiki Markup |
---|
{description} {excerpt}Sets or returns a [WordViewSettings.ViewType|WordViewSettings.ViewType] object that represents the type of view this document will be displayed in when opened by Word. Possible values: Normal, Outline, Page.{excerpt} {signature:C#} public ViewType DocumentView{ get; set; } {signature}{signature:vb.net} Public Property DocumentView() As ViewType {signature} {remarks}This option is set to [WordViewSettings.ViewType.Page|WordViewSettings.ViewType#Page] by default. MS Word equivalent: View menu > \(Top section\) {remarks} {example}{code:csharp|title=C#} //--- Return DocumentView WordViewSettings.ViewType oViewType = viewSettings.DocumentView; //--- Set DocumentView viewSettings.DocumentView = WordViewSettings.ViewType.Outline; {code} {code:vb.net|title=vb.net} '--- Return DocumentView Dim oViewType As WordViewSettings.ViewType = viewSettings.DocumentView '--- Set ShadeFormFields viewSettings.DocumentView = WordViewSettings.ViewType.Outline {code} {example} |
Page History
Overview
Content Tools