共用方式為


OrganizationChart Class

Show Organization Chart User Interface.When the object is serialized out as xml, its qualified name is dgm:orgChart.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Diagrams.OrganizationChart

Namespace:  DocumentFormat.OpenXml.Drawing.Diagrams
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class OrganizationChart _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As OrganizationChart
public class OrganizationChart : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

21.4.6.8 orgChart (Show Organization Chart User Interface)

This element is used to indicate when to show user interface controls specifically associated with organizational charts such as being able to add an assistant to a selected node.

[Example: Consider the following example of orgChart used in DiagramML:

<varLst>                       
<orgChart val="true" />    
<chPref val="1" />         
<dir val="norm" />         
<animOne val="branch" />   
<animLvl val="lvl" />      
<resizeHandles val="rel" />
</varLst>                      

In this example we set the orgChart value to true indicating that the organizational chart specific user interface controls are to be enabled when the containing diagram is used. end example]

Parent Elements

presLayoutVars (§21.4.5.4); varLst (§21.4.2.31)

Attributes

Description

val (Show Organization Chart User Interface Value)

This attribute value specifies when to show the ‘Insert Assistant’ user interface control and the ‘Change Layout’ user interface for this diagram.

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_OrgChart) is located in §A.5.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

OrganizationChart Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace