Share via


Layout class

Defines the Layout Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is c15:layout.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office15.Drawing.Chart.Layout

Namespace:  DocumentFormat.OpenXml.Office15.Drawing.Chart
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(ManualLayout))> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
Public Class Layout _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Layout
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(ManualLayout))]
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
public class Layout : OpenXmlCompositeElement

Remarks

2.3.54 layout

Target namespace: https://schemas.microsoft.com/office/drawing/2012/chart

layout<58> is a CT_Layout ([ISO/IEC-29500-1] section A.5.1) element whose child element manualLayout ([ISO/IEC-29500-1] section A.5.1) specifies the manual layout for a datalabel or the parent datalabels object.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="layout" type="c:CT_Layout"/>

See section 5.14 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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

Layout members

DocumentFormat.OpenXml.Office15.Drawing.Chart namespace