Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelCellBorderInfo

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Immutable border metadata resolved for a cell style.

Inheritance

  • object
  • ExcelCellBorderInfo

Usage

Explore 2 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.

Constructors

public ExcelCellBorderInfo(ExcelBorderSideInfo? left = null, ExcelBorderSideInfo? right = null, ExcelBorderSideInfo? top = null, ExcelBorderSideInfo? bottom = null, ExcelBorderSideInfo? diagonal = null, bool diagonalUp = false, bool diagonalDown = false) #

Creates border metadata that can be used when authoring a conditional-formatting differential style.

Parameters

left OfficeIMO.Excel.ExcelBorderSideInfo? = null optional
Left border side.
right OfficeIMO.Excel.ExcelBorderSideInfo? = null optional
Right border side.
top OfficeIMO.Excel.ExcelBorderSideInfo? = null optional
Top border side.
bottom OfficeIMO.Excel.ExcelBorderSideInfo? = null optional
Bottom border side.
diagonal OfficeIMO.Excel.ExcelBorderSideInfo? = null optional
Diagonal border side.
diagonalUp bool = false optional
Whether the diagonal runs from bottom-left to top-right.
diagonalDown bool = false optional
Whether the diagonal runs from top-left to bottom-right.

Properties

public ExcelBorderSideInfo? Left { get; internal set; } #

Left border side.

public ExcelBorderSideInfo? Right { get; internal set; } #

Right border side.

public ExcelBorderSideInfo? Top { get; internal set; } #

Top border side.

public ExcelBorderSideInfo? Bottom { get; internal set; } #

Bottom border side.

public ExcelBorderSideInfo? Diagonal { get; internal set; } #

Diagonal border side.

public bool DiagonalUp { get; internal set; } #

Whether the diagonal border runs from bottom-left to top-right.

public bool DiagonalDown { get; internal set; } #

Whether the diagonal border runs from top-left to bottom-right.