Partager via


BorderBoxProperties Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(HideTop))> _
<ChildElementInfoAttribute(GetType(StrikeHorizontal))> _
<ChildElementInfoAttribute(GetType(HideBottom))> _
<ChildElementInfoAttribute(GetType(HideLeft))> _
<ChildElementInfoAttribute(GetType(HideRight))> _
<ChildElementInfoAttribute(GetType(StrikeBottomLeftToTopRight))> _
<ChildElementInfoAttribute(GetType(StrikeVertical))> _
<ChildElementInfoAttribute(GetType(StrikeTopLeftToBottomRight))> _
<ChildElementInfoAttribute(GetType(ControlProperties))> _
Public Class BorderBoxProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As BorderBoxProperties
[ChildElementInfoAttribute(typeof(HideTop))]
[ChildElementInfoAttribute(typeof(StrikeHorizontal))]
[ChildElementInfoAttribute(typeof(HideBottom))]
[ChildElementInfoAttribute(typeof(HideLeft))]
[ChildElementInfoAttribute(typeof(HideRight))]
[ChildElementInfoAttribute(typeof(StrikeBottomLeftToTopRight))]
[ChildElementInfoAttribute(typeof(StrikeVertical))]
[ChildElementInfoAttribute(typeof(StrikeTopLeftToBottomRight))]
[ChildElementInfoAttribute(typeof(ControlProperties))]
public class BorderBoxProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • HideTop <m:hideTop>

  • HideBottom <m:hideBot>

  • HideLeft <m:hideLeft>

  • HideRight <m:hideRight>

  • StrikeHorizontal <m:strikeH>

  • StrikeVertical <m:strikeV>

  • StrikeBottomLeftToTopRight <m:strikeBLTR>

  • StrikeTopLeftToBottomRight <m:strikeTLBR>

  • ControlProperties <m:ctrlPr>

[ISO/IEC 29500-1 1st Edition]

22.1.2.12 borderBoxPr (Border-Box Properties)

This element specifies the properties of the Border Box object, which dictate the types of lines that can be drawn as part of the border. [Example: (Diagonal Strikethrough from Top Left) and (no left or right edges). end example]

[Example:

(left and bottom edges) is represented by the following XML:

<m:borderBox>
  <m:borderBoxPr>
<m:hideTop m:val="1"/>
    <m:hideRight m:val="1"/>
  </m:borderBoxPr>
  <m:e>
    <m:r>
      <m:t>x</m:t>
    </m:r>
  </m:e>
</m:borderBox>

end example]

Parent Elements

borderBox (§22.1.2.11)

Child Elements

Subclause

ctrlPr (Control Properties)

§22.1.2.23

hideBot (Hide Bottom Edge)

§22.1.2.44

hideLeft (Hide Left Edge)

§22.1.2.45

hideRight (Hide Right Edge)

§22.1.2.46

hideTop (Hide Top Edge)

§22.1.2.47

strikeBLTR (Border Box Strikethrough Bottom-Left to Top-Right)

§22.1.2.107

strikeH (Border Box Strikethrough Horizontal)

§22.1.2.108

strikeTLBR (Border Box Strikethrough Top-Left to Bottom-Right)

§22.1.2.109

strikeV (Border Box Strikethrough Vertical)

§22.1.2.110

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

See Also

Reference

BorderBoxProperties Members

DocumentFormat.OpenXml.Math Namespace