BoxProperties Class

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

Inheritance Hierarchy

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

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

Syntax

声明
<ChildElementInfoAttribute(GetType(Alignment))> _
<ChildElementInfoAttribute(GetType(OperatorEmulator))> _
<ChildElementInfoAttribute(GetType(NoBreak))> _
<ChildElementInfoAttribute(GetType(Differential))> _
<ChildElementInfoAttribute(GetType(ControlProperties))> _
<ChildElementInfoAttribute(GetType(Break))> _
Public Class BoxProperties _
    Inherits OpenXmlCompositeElement
用法
Dim instance As BoxProperties
[ChildElementInfoAttribute(typeof(Alignment))]
[ChildElementInfoAttribute(typeof(OperatorEmulator))]
[ChildElementInfoAttribute(typeof(NoBreak))]
[ChildElementInfoAttribute(typeof(Differential))]
[ChildElementInfoAttribute(typeof(ControlProperties))]
[ChildElementInfoAttribute(typeof(Break))]
public class BoxProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • OperatorEmulator <m:opEmu>

  • NoBreak <m:noBreak>

  • Differential <m:diff>

  • Break <m:brk>

  • Alignment <m:aln>

  • ControlProperties <m:ctrlPr>

[ISO/IEC 29500-1 第 1 个版本]

22.1.2.14 boxPr (Box Properties)

This element specifies properties of the Box object, for example, whether the Box serves as operator emulator with or without an alignment point, serves as a line break point, or receives the correct spacing for the mathematical differential. [Example:

is partly represented by the following XML:

<m:box>
  <m:boxPr>
    <m:opEmu m:val="1"/>
  </m:boxPr>
  <m:e>
    <m:r>
      <m:t>x</m:t>
    </m:r>
  </m:e>
</m:box>

The x is set to be an operator emulator so it is given operator spacing around it.

end example]

Parent Elements

box (§22.1.2.13)

Child Elements

Subclause

aln (Alignment)

§22.1.2.3

brk (Break)

§22.1.2.15

ctrlPr (Control Properties)

§22.1.2.23

diff (Differential)

§22.1.2.29

noBreak (No Break)

§22.1.2.73

opEmu (Operator Emulator)

§22.1.2.80

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

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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.

See Also

Reference

BoxProperties Members

DocumentFormat.OpenXml.Math Namespace