Freigeben über


Shadow-Klasse

Defines the Shadow Class.When the object is serialized out as xml, its qualified name is w:shadow.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.Shadow

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

Syntax

'Declaration
Public Class Shadow _
    Inherits OnOffType
'Usage
Dim instance As Shadow
public class Shadow : OnOffType

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

17.3.2.31 shadow (Shadow)

This element specifies that the contents of this run shall be displayed as if each character has a shadow. For left-to-right text, the shadow is beneath the text and to its right; for right-to-left text, the shadow is beneath the text and to its left.

This formatting property is a toggle property (§17.7.3).

If this element is not present, the default value is to leave the formatting applied at previous level in the style hierarchy. If this element is never applied in the style hierarchy, then shadowing shall not be applied to the contents of this run.

This element shall not be present with either the emboss (§17.3.2.13) or imprint (§17.3.2.18) properties on the same run, since they are mutually exclusive in terms of appearance.

[Example: Consider a run of text which must have the shadow property explicitly turned on for the contents of the run. This constraint is specified using the following WordprocessingML:

<w:rPr>
<w:shadow w:val="true"/>
</w:rPr>

This run explicitly declares that the shadow property is true, so the contents of this run appear with a shadow. end example]

Parent Elements

rPr (§17.3.1.29); rPr (§17.3.1.30); rPr (§17.5.2.28); rPr (§17.9.25); rPr (§17.7.9.1); rPr (§17.7.5.4); rPr (§17.3.2.28); rPr (§17.5.2.27); rPr (§17.7.6.2); rPr (§17.3.2.27)

This element's content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

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

Siehe auch

Referenz

Shadow-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace