Compartilhar via


CommonViewProperties Class

Base properties for Notes View.When the object is serialized out as xml, its qualified name is p:cViewPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.CommonViewProperties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Origin))> _
<ChildElementInfoAttribute(GetType(ScaleFactor))> _
Public Class CommonViewProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As CommonViewProperties
[ChildElementInfoAttribute(typeof(Origin))]
[ChildElementInfoAttribute(typeof(ScaleFactor))]
public class CommonViewProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ScaleFactor <p:scale>

  • Origin <p:origin>

[ISO/IEC 29500-1 1st Edition]

19.2.2.2 cViewPr (Common View Properties)

This element specifies the view properties that are common across multiple view property elements.

Parent Elements

cSldViewPr (§19.2.2.1); notesTextViewPr (§19.2.2.7); outlineViewPr (§19.2.2.10); sorterViewPr (§19.2.2.17)

Child Elements

Subclause

origin (View Origin)

§19.2.2.9

scale (View Scale)

§19.2.2.13

Attributes

Description

varScale (Variable Scale)

Specifies that the view content should automatically scale to best fit the current window size.

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_CommonViewProperties) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Thread Safety

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

See Also

Reference

CommonViewProperties Members

DocumentFormat.OpenXml.Presentation Namespace