Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

OfficeBorderBox

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Base
ValueType
Modifiers
sealed

Describes the four independent edges of a rectangular border box.

Inheritance

  • ValueType
  • OfficeBorderBox

Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 3

Constructors

public OfficeBorderBox(OfficeBorderSide? left = null, OfficeBorderSide? top = null, OfficeBorderSide? right = null, OfficeBorderSide? bottom = null, OfficeBorderSide? diagonalDown = null, OfficeBorderSide? diagonalUp = null) #

Creates a border box with independent edges.

Parameters

left OfficeIMO.Drawing.OfficeBorderSide? = null optional
top OfficeIMO.Drawing.OfficeBorderSide? = null optional
right OfficeIMO.Drawing.OfficeBorderSide? = null optional
bottom OfficeIMO.Drawing.OfficeBorderSide? = null optional
diagonalDown OfficeIMO.Drawing.OfficeBorderSide? = null optional
diagonalUp OfficeIMO.Drawing.OfficeBorderSide? = null optional

Methods

public static OfficeBorderBox Uniform(OfficeBorderSide side) #

Creates a border box where all edges use the same side definition.

Parameters

side OfficeIMO.Drawing.OfficeBorderSide required

Properties

public OfficeBorderSide? Left { get; } #

Left edge, or null when absent.

public OfficeBorderSide? Top { get; } #

Top edge, or null when absent.

public OfficeBorderSide? Right { get; } #

Right edge, or null when absent.

public OfficeBorderSide? Bottom { get; } #

Bottom edge, or null when absent.

public OfficeBorderSide? DiagonalDown { get; } #

Top-left to bottom-right diagonal edge, or null when absent.

public OfficeBorderSide? DiagonalUp { get; } #

Bottom-left to top-right diagonal edge, or null when absent.

public bool HasVisibleSide { get; } #

Whether at least one edge is visible.