Share via


Width Class

Width.When the object is serialized out as xml, its qualified name is c:w.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Charts.DoubleType
        DocumentFormat.OpenXml.Drawing.Charts.Width

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

Syntax

'Declaration
Public Class Width _
    Inherits DoubleType
'Usage
Dim instance As Width
public class Width : DoubleType

Remarks

[ISO/IEC 29500-1 1st Edition]

21.2.2.229 w (Width)

This element specifies the width (if Width Mode is Factor) or right (if Width Mode is Edge) of the chart element as a fraction of the width of the chart.

Parent Elements

manualLayout (§21.2.2.104)

Attributes

Description

val (Floating Point Value)

Specifies that the contents of this attribute contain a floating point number.

The contents of this number are interpreted based on the context of the parent XML element.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_Double) is located in §A.5.1. 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

Width Members

DocumentFormat.OpenXml.Drawing.Charts Namespace