PresetLineDashProperties class

Office 2013 and later

Defines the PresetLineDashProperties Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is w14:prstDash.


Namespace:  DocumentFormat.OpenXml.Office2010.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class PresetLineDashProperties : OpenXmlLeafElement

2.5.16 CT_PresetLineDashProperties

Target namespace:

Referenced by: CT_TextOutlineEffect

A complex type that specifies the type of line dashing scheme to use.


val: An optional ST_PresetLineDashVal attribute that specifies the type of preset dashing scheme to be used. By default, a solid line is used.

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

<xsd:complexType name="CT_PresetLineDashProperties">

<xsd:attribute name="val" type="ST_PresetLineDashVal" use="optional"/>


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

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