Freigeben über


Script-Klasse

Script.When the object is serialized out as xml, its qualified name is m:scr.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Math.Script

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

Syntax

'Declaration
Public Class Script _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Script
public class Script : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

22.1.2.94 scr (Script)

This element describes the script applied to the characters in the run. The XML includes the Unicode value of the character (between U+0000 and U+007F), along with the script of the character. The application maps the value and script type to the appropriate Unicode range.

Whether the element is absent or present without the val attribute, the default of the val attribute is roman.

[Example:

<m:r>
<m:rPr>
<m:scr m:val="fraktur"/>
<m:sty m:val="p"/>
</m:rPr>
<m:t>a</m:t>
</m:r>
<m:r>
<m:rPr>
<m:scr m:val="double-struck"/>
<m:sty m:val="p"/>
</m:rPr>
<m:t>a</m:t>
</m:r>

end example]

Parent Elements

rPr (§22.1.2.91)

Attributes

Description

val (Value)

Specifies the script type of the parent element. Possible values are: double-struck, fraktur, monospace, roman, sans-serif, and script.

The possible values for this attribute are defined by the ST_Script simple type (§22.1.3.9).

[Note: The W3C XML Schema definition of this element's content model (CT_Script) is located in §A.6.1. end note]

© 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

Script-Member

DocumentFormat.OpenXml.Math-Namespace