TextOutlineEffect class

Office 2013 and later

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

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Word.TextOutlineEffect

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

No code example is currently available or this language may not be supported.

2.3.14 textOutline

Target namespace: http://schemas.microsoft.com/office/word/2010/wordml

A CT_TextOutlineEffect element that specifies the outline style to be applied to text. By default, text does not have outline. See section 2.2.1 for how this element integrates with ISO/IEC-29500-1.

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

<xsd:element name="textOutline" minOccurs="0" type="CT_TextOutlineEffect"/>

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

2.5.26 CT_TextOutlineEffect

Target namespace: http://schemas.microsoft.com/office/word/2010/wordml

Referenced by: textOutline

A complex type that specifies the outline style that can be applied to text. When this element is empty, bevel is used as default.

Child Elements:

noFill: A CT_Empty (as specified in [ISO/IEC-29500-1] section A.1) element that specifies that no fill is applied to text.

solidFill: A CT_SolidColorFillProperties element that specifies a solid color fill. The text is filled entirely with the specified color.

gradFill: A CT_GradientFillProperties element that specifies the gradient fill. A gradient fill is a fill that is characterized by a smooth gradual transition from one color to the next.

prstDash: A CT_PresetLineDashProperties element that specifies the type of line dashing scheme to use. By default, a solid line is used.

round: A CT_Empty (as specified in [ISO/IEC-29500-1] section A.1) element that specifies that lines are connected by round joints.

bevel: A CT_Empty (as specified in [ISO/IEC-29500-1] section A.1) element that specifies that lines are connected by angle joints.

miter: A CT_LineJoinMiterProperties element that specifies that the line joins are mitered.

Attributes:

w: An optional ST_LineWidth (as specified in [ISO/IEC-29500-1] section 20.1.10.35) attribute that specifies the width of the outline. By default, the outline has no width.

cap: An optional ST_LineCap attribute that specifies the ending caps for the lines. By default, lines end at endpoint.

cmpd: An optional ST_CompoundLine attribute that specifies the compound line type to be used. Normal width single line is used by default.

algn: An optional ST_PenAlignment attribute that specifies the alignment. Center pen alignment is used by default.

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

<xsd:complexType name="CT_TextOutlineEffect">

<xsd:sequence>

<xsd:group ref="EG_FillProperties" minOccurs="0"/>

<xsd:group ref="EG_LineDashProperties" minOccurs="0"/>

<xsd:group ref="EG_LineJoinProperties" minOccurs="0"/>

</xsd:sequence>

<xsd:attribute name="w" use="optional" type="a:ST_LineWidth"/>

<xsd:attribute name="cap" use="optional" type="ST_LineCap"/>

<xsd:attribute name="cmpd" use="optional" type="ST_CompoundLine"/>

<xsd:attribute name="algn" use="optional" type="ST_PenAlignment"/>

</xsd:complexType>

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.
Show: