Freigeben über


FillTextEffect-Klasse

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

Vererbungshierarchie

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

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)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class FillTextEffect _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As FillTextEffect
[ChildElementInfoAttribute(typeof(SolidColorFillProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NoFillEmpty), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(GradientFillProperties), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class FillTextEffect : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • NoFillEmpty <w14:noFill>

  • SolidColorFillProperties <w14:solidFill>

  • GradientFillProperties <w14:gradFill>

2.5.25 CT_FillTextEffect

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

Referenced by: wTextFill

Specifies a fill which is one of gradFill, solidFill or noFill. If this element has no child elements, a default of solid black fill is applied.

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.

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

<xsd:complexType name="CT_FillTextEffect">

<xsd:sequence>

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

</xsd:sequence>

</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

FillTextEffect-Member

DocumentFormat.OpenXml.Office2010.Word-Namespace