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
'Declaration
Public Class FractionType _
Inherits OpenXmlLeafElement
'Usage
Dim instance As FractionType
public class FractionType : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 1st Edition]
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.
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.