Freigeben über


FractionProperties-Klasse

Fraction Properties.When the object is serialized out as xml, its qualified name is m:fPr.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Math.FractionProperties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ControlProperties))> _
<ChildElementInfoAttribute(GetType(FractionType))> _
Public Class FractionProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As FractionProperties
[ChildElementInfoAttribute(typeof(ControlProperties))]
[ChildElementInfoAttribute(typeof(FractionType))]
public class FractionProperties : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • FractionType <m:type>

  • ControlProperties <m:ctrlPr>

[ISO/IEC 29500-1 1. Ausgabe]

22.1.2.38 fPr (Fraction Properties)

This element specifies the properties of the fraction object f. Properties of the Fraction object include the type or style of the fraction. The fraction bar can be horizontal or diagonal, depending on the fraction properties. The fraction object is also used to represent the stack function, which places one element above another, with no fraction bar. [Example: Examples of fractions are:

Bar Fraction:

Skewed Fraction:

Linear Fraction:

No-Bar Fraction (Stack):

The linear fraction is represented by the following XML:

<m:f>
  <m:fPr>
    <m:type m:val="lin"/>
  </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

f (§22.1.2.36)

Child Elements

Subclause

ctrlPr (Control Properties)

§22.1.2.23

type (Fraction type)

§22.1.2.118

[Note: The W3C XML Schema definition of this element's content model (CT_FPr) 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

FractionProperties-Member

DocumentFormat.OpenXml.Math-Namespace