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
'Declaration
<ChildElementInfoAttribute(GetType(Alignment))> _
<ChildElementInfoAttribute(GetType(OperatorEmulator))> _
<ChildElementInfoAttribute(GetType(NoBreak))> _
<ChildElementInfoAttribute(GetType(Differential))> _
<ChildElementInfoAttribute(GetType(ControlProperties))> _
<ChildElementInfoAttribute(GetType(Break))> _
Public Class BoxProperties _
Inherits OpenXmlCompositeElement
'Usage
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 1st Edition]
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.
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.