Box Class
Box Function.When the object is serialized out as xml, its qualified name is m:box.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Math.Box
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(BoxProperties))> _
<ChildElementInfoAttribute(GetType(Base))> _
Public Class Box _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Box
[ChildElementInfoAttribute(typeof(BoxProperties))]
[ChildElementInfoAttribute(typeof(Base))]
public class Box : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
BoxProperties <m:boxPr>
Base <m:e>
[ISO/IEC 29500-1 1st Edition]
22.1.2.13 box (Box Object)
This element specifies the box object, which is used to group components of an equation or other instance of mathematical text. A boxed object can (for example) serve as an operator emulator with or without an alignment point, serve as a line break point, have associated argSz, or be grouped such as not to allow line breaks within. If boxPr is omitted, all properties will be “false” by default.
[Example: The mathematical text uses a box around the double equal sign.
Its XML representation is as follows:
<m:r> <m:t>a</m:t> </m:r> <m:box> <m:boxPr> <m:opEmum:val="1"/> <m:aln/> </m:boxPr> <m:e> <m:r> <m:t>==</m:t> </m:r> </m:e> </m:box> <m:r> <m:t>b</m:t> </m:r>
end example]
Parent Elements |
---|
deg (§22.1.2.26); del (§17.13.5.14); den (§22.1.2.28); e (§22.1.2.32); fName (§22.1.2.37); ins (§17.13.5.18); lim (§22.1.2.52); moveFrom (§17.13.5.22); moveTo (§17.13.5.25); num (§22.1.2.75); oMath (§22.1.2.77); sub (§22.1.2.112); sup (§22.1.2.114) |
Child Elements |
Subclause |
---|---|
boxPr (Box Properties) |
§22.1.2.14 |
e (Element (Argument)) |
§22.1.2.32 |
[Note: The W3C XML Schema definition of this element’s content model (CT_Box) 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.