FractionType Class
Fraction type.When the object is serialized out as xml, its qualified name is m:type.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Math.FractionType
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Class FractionType _
Inherits OpenXmlLeafElement
'使用
Dim instance As FractionType
public class FractionType : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 初版]
22.1.2.118 type (Fraction type)
This element specifies the type of fraction f; the default is 'bar'. Whether the element is absent or present without the val attribute, the default of the val attribute is bar. Fractions types are:
Stacked Fraction:
Skewed Fraction:
Linear Fraction:
Stack Object (No-Bar Fraction):
[Example:
is represented by the following XML:
<m:f>
<m:fPr>
<m:type m:val="skw"/>
</m:fPr>
<m:num>
<m:r>
<m:t>c</m:t>
</m:r>
</m:num>
<m:den>
<m:r>
<m:t>d</m:t>
</m:r>
</m:den>
</m:f>
end example]
Parent Elements |
---|
fPr (§22.1.2.38) |
Attributes |
Description |
---|---|
val (Value) |
Specifies the type of fraction. Possible values are bar (Bar Fraction), lin (Linear Fraction), noBar (No-Bar Fraction (Stack)), and skw (Skewed). The possible values for this attribute are defined by the ST_FType simple type (§22.1.3.4). |
[Note: The W3C XML Schema definition of this element's content model (CT_FType) is located in §A.6.1. end note]
© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.