Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfCellBorder

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision 64571f1a8ff6 with working tree changes
Modifiers sealed

Describes an override border for a single table cell.

Inheritance

  • Object
  • PdfCellBorder

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.

Returned or exposed by 2

Constructors

public PdfCellBorder() #

Methods

public PdfCellBorder Clone() #
Returns: PdfCellBorder

Creates a deep copy of this border style.

Properties

public 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.

public HashSet<Int32>? HiddenRightRowSegments { get; set; } #

Zero-based row segments to omit from the right side of a vertically merged cell.

public HashSet<Int32>? HiddenLeftRowSegments { get; set; } #

Zero-based row segments to omit from the left side of a vertically merged cell.

public HashSet<Int32>? HiddenTopColumnSegments { get; set; } #

Zero-based column segments to omit from the top side of a horizontally merged cell.

public HashSet<Int32>? HiddenBottomColumnSegments { get; set; } #

Zero-based column segments to omit from the bottom side of a horizontally merged cell.