ViewProperties Class

Presentation-wide View Properties. It is the root element of ViewPropertiesPart.When the object is serialized out as xml, its qualified name is p:viewPr.

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[ChildElementInfoAttribute(typeof(SorterViewProperties))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(GridSpacing))]
[ChildElementInfoAttribute(typeof(NormalViewProperties))]
[ChildElementInfoAttribute(typeof(SlideViewProperties))]
[ChildElementInfoAttribute(typeof(OutlineViewProperties))]
[ChildElementInfoAttribute(typeof(NotesTextViewProperties))]
[ChildElementInfoAttribute(typeof(NotesViewProperties))]
public class ViewProperties : OpenXmlPartRootElement

The following table lists the possible child types:

  • NormalViewProperties <p:normalViewPr>

  • SlideViewProperties <p:slideViewPr>

  • OutlineViewProperties <p:outlineViewPr>

  • NotesTextViewProperties <p:notesTextViewPr>

  • SorterViewProperties <p:sorterViewPr>

  • NotesViewProperties <p:notesViewPr>

  • GridSpacing <p:gridSpacing>

  • ExtensionList <p:extLst>


[ISO/IEC 29500-1 1st Edition]

19.2.2.18 viewPr (Presentation-wide View Properties)

This element functions as a parent element within which all presentation-wide view properties are contained. All properties and their corresponding settings are defined within the child elements.

Parent Elements

Root element of PresentationML View Properties part

Child Elements

Subclause

extLst (Extension List)

§19.2.1.12

gridSpacing (Grid Spacing)

§19.2.2.3

normalViewPr (Normal View Properties)

§19.2.2.6

notesTextViewPr (Notes Text View Properties)

§19.2.2.7

notesViewPr (Notes View Properties)

§19.2.2.8

outlineViewPr (Outline View Properties)

§19.2.2.10

slideViewPr (Slide View Properties)

§19.2.2.16

sorterViewPr (Slide Sorter View Properties)

§19.2.2.17

Attributes

Description

lastView (Last View)

Specifies the view mode that was used when the presentation document was last saved.

The possible values for this attribute are defined by the ST_ViewType simple type (§19.7.55).

showComments (Show Comments)

Specifies whether the slide comments should be shown.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_ViewProperties) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft