API Reference
Struct
OfficeBorderBox
Describes the four independent edges of a rectangular border box.
Inheritance
- ValueType
- OfficeBorderBox
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method OfficeBorderBox.Uniform
Accepted by parameters
Constructors
public OfficeBorderBox(Nullable<OfficeBorderSide> left = null, Nullable<OfficeBorderSide> top = null, Nullable<OfficeBorderSide> right = null, Nullable<OfficeBorderSide> bottom = null, Nullable<OfficeBorderSide> diagonalDown = null, Nullable<OfficeBorderSide> diagonalUp = null) #Creates a border box with independent edges.
Parameters
- left System.Nullable{OfficeIMO.Drawing.OfficeBorderSide} = null
- top System.Nullable{OfficeIMO.Drawing.OfficeBorderSide} = null
- right System.Nullable{OfficeIMO.Drawing.OfficeBorderSide} = null
- bottom System.Nullable{OfficeIMO.Drawing.OfficeBorderSide} = null
- diagonalDown System.Nullable{OfficeIMO.Drawing.OfficeBorderSide} = null
- diagonalUp System.Nullable{OfficeIMO.Drawing.OfficeBorderSide} = null
Methods
public static OfficeBorderBox Uniform(OfficeBorderSide side) #Returns:
OfficeBorderBoxCreates a border box where all edges use the same side definition.
Parameters
- side OfficeIMO.Drawing.OfficeBorderSide
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object
Properties
public Nullable<OfficeBorderSide> Left { get; } #Left edge, or null when absent.
public Nullable<OfficeBorderSide> Top { get; } #Top edge, or null when absent.
public Nullable<OfficeBorderSide> Right { get; } #Right edge, or null when absent.
public Nullable<OfficeBorderSide> Bottom { get; } #Bottom edge, or null when absent.
public Nullable<OfficeBorderSide> DiagonalDown { get; } #Top-left to bottom-right diagonal edge, or null when absent.
public Nullable<OfficeBorderSide> DiagonalUp { get; } #Bottom-left to top-right diagonal edge, or null when absent.
public Boolean HasVisibleSide { get; } #Whether at least one edge is visible.