LineStyleList Class

Line Style List.When the object is serialized out as xml, its qualified name is a:lnStyleLst.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.LineStyleList

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Outline <a:ln>

[ISO/IEC 29500-1 1st Edition]

20.1.4.1.21 lnStyleLst (Line Style List)

This element defines a list of three line styles for use within a theme. The three line styles are arranged in order from subtle to moderate to intense versions of lines. This list makes up part of the style matrix.

[Example: Consider the following example of a line style list within DrawingML:

<lnStyleLst>
<ln w="9525" cap="flat" cmpd="sng" algn="ctr">
<solidFill>
<schemeClr val="phClr">
<shade val="50000"/>
<satMod val="103000"/>
</schemeClr>
</solidFill>
<prstDash val="solid"/>
</ln>
  <ln w="25400" cap="flat" cmpd="sng" algn="ctr">
<solidFill>
<schemeClr val="phClr"/>
</solidFill>
<prstDash val="solid"/>
</ln>
  <ln w="38100" cap="flat" cmpd="sng" algn="ctr">
<solidFill>
<schemeClr val="phClr"/>
</solidFill>
<prstDash val="solid"/>
</ln>
</lnStyleLst>

In this example, we see three lines defined within a line style list. The first line corresponds to the subtle line, the second to the moderate, and the third corresponds to the intense line defined in the theme. end example]

Parent Elements

fmtScheme (§20.1.4.1.14)

Child Elements

Subclause

ln (Outline)

§20.1.2.2.24

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

LineStyleList Members

DocumentFormat.OpenXml.Drawing Namespace