Freigeben über


TextOutlineEffect-Klasse

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

Vererbungshierarchie

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)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(SolidColorFillProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(NoFillEmpty), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(GradientFillProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(PresetLineDashProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(RoundEmpty), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(BevelEmpty), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(LineJoinMiterProperties), FileFormatVersions.Office2010)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class TextOutlineEffect _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As TextOutlineEffect
[ChildElementInfoAttribute(typeof(SolidColorFillProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NoFillEmpty), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(GradientFillProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(PresetLineDashProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(RoundEmpty), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(BevelEmpty), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(LineJoinMiterProperties), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class TextOutlineEffect : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • NoFillEmpty <w14:noFill>

  • SolidColorFillProperties <w14:solidFill>

  • GradientFillProperties <w14:gradFill>

  • PresetLineDashProperties <w14:prstDash>

  • RoundEmpty <w14:round>

  • BevelEmpty <w14:bevel>

  • LineJoinMiterProperties <w14:miter>

2.5.26 CT_TextOutlineEffect

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

Referenced by: wTextOutline

Specifies the outline style that can be applied to text.

When round, bevel and miter are absent, bevel is used as default.

Child Elements:

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

solidFill : A CT_SolidColorFillProperties element that specifies a solid color fill. 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] §A.1) element that specifies that lines are connected by round joints.

bevel : A CT_Empty (as specified in [ISO/IEC-29500-1] §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] §20.1.10.35) attribute that specifies the width of the outline. By default, the outline has no width. This attribute MAY<27> be required.

cap : An optional ST_LineCap attribute that specifies the ending caps for the lines. By default, lines end at endpoint. This attribute MAY<28> be required.

cmpd : An optional ST_CompoundLine attribute that specifies the compound line type to be used. Normal width single line is used by default. This attribute MAY<29> be required.

algn : An optional ST_PenAlignment attribute that specifies the alignment. Center pen alignment is used by default. This attribute MAY<30> be required.

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).

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

TextOutlineEffect-Member

DocumentFormat.OpenXml.Office2010.Word-Namespace