Class MathBorderBox
Represents a border-box element — a rectangular or custom border drawn around the base element.
Maps to the OMML m:borderBox element.
Implements
Inherited Members
Namespace: DRIT.Presentation.Drawing.Mathematics
Assembly: DRIT.Presentation.dll
Syntax
public sealed class MathBorderBox : MathElementBase, IMathElement
Constructors
MathBorderBox(IMathElement)
Initializes a new instance of the math border box class.
Declaration
public MathBorderBox(IMathElement baseElement)
Parameters
| Type | Name | Description |
|---|---|---|
| IMathElement | baseElement | The base element used to construct this element. |
Properties
Base
Gets the base element surrounded by the border box.
Declaration
public IMathElement Base { get; }
Property Value
| Type | Description |
|---|---|
| IMathElement |
ShowBottom
Gets or sets whether the bottom border edge is shown.
Declaration
public bool ShowBottom { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowHorizontalStrip
Gets or sets whether the horizontal strip (through the middle) is shown.
Declaration
public bool ShowHorizontalStrip { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowLeft
Gets or sets whether the left border edge is shown.
Declaration
public bool ShowLeft { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowRight
Gets or sets whether the right border edge is shown.
Declaration
public bool ShowRight { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowTop
Gets or sets whether the top border edge is shown.
Declaration
public bool ShowTop { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowTopLeftToBottomRight
Gets or sets whether the top-left to bottom-right diagonal is shown.
Declaration
public bool ShowTopLeftToBottomRight { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowTopRightToBottomLeft
Gets or sets whether the top-right to bottom-left diagonal is shown.
Declaration
public bool ShowTopRightToBottomLeft { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowVerticalStrip
Gets or sets whether the vertical strip (through the middle) is shown.
Declaration
public bool ShowVerticalStrip { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |