API Reference

Class

PdfCellBorder

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Describes an override border for a single table cell.

Inheritance

  • Object
  • PdfCellBorder

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

Constructors

Methods

public PdfCellBorder Clone() #
Returns: PdfCellBorder

Creates a deep copy of this border style.

Properties

public Nullable<PdfColor> Color { get; set; } #

Border color. Set to null or use a zero width to suppress the border.

public Double Width { get; set; } #

Border stroke width in points.

public OfficeStrokeDashStyle DashStyle { get; set; } #

Border stroke dash style used by sides without an explicit side override.

public PdfCellBorderLineStyle LineStyle { get; set; } #

Border line style used by sides without an explicit side override.

public PdfCellBorderSide TopBorder { get; set; } #

Optional top border override. When set, it overrides the shared color and width for this side.

public PdfCellBorderSide RightBorder { get; set; } #

Optional right border override. When set, it overrides the shared color and width for this side.

public PdfCellBorderSide BottomBorder { get; set; } #

Optional bottom border override. When set, it overrides the shared color and width for this side.

public PdfCellBorderSide LeftBorder { get; set; } #

Optional left border override. When set, it overrides the shared color and width for this side.

public PdfCellBorderSide DiagonalUpBorder { get; set; } #

Optional diagonal-up border override. The diagonal-up line runs from the bottom-left corner to the top-right corner.

public PdfCellBorderSide DiagonalDownBorder { get; set; } #

Optional diagonal-down border override. The diagonal-down line runs from the top-left corner to the bottom-right corner.

public Boolean Top { get; set; } #

Whether to draw the top side of the cell border.

public Boolean Right { get; set; } #

Whether to draw the right side of the cell border.

public Boolean Bottom { get; set; } #

Whether to draw the bottom side of the cell border.

public Boolean Left { get; set; } #

Whether to draw the left side of the cell border.

public Boolean DiagonalUp { get; set; } #

Whether to draw the diagonal-up line from bottom-left to top-right.

public Boolean DiagonalDown { get; set; } #

Whether to draw the diagonal-down line from top-left to bottom-right.