Namespace TallComponents.PDF.Layout
Class Border
Specifies the border for objects.
A border is a rectangle that can be applied to a table, row and cell. The appearance of a border is defined by the four pens with which the left, right, top en bottom edges are drawn and the brush with which the background is filled. The size and position of a border is determined by the enclosed content.
Syntax
public class Border
: Object
Constructors
Border()
Initialize a new instance of the Border class.
Border(Brush)
Initialize a new instance of the Border class with the given brush.
Border(Color,Double)
Initialize a new instance of the Border class with the given color and width.
Border(Color,Double,Brush)
Initialize a new instance of the Border class with the given color, width and brush.
Border(Color,Double,DashPattern,Brush)
Initialize a new instance of the Border class with given color, width, pattern and brush.
Border(Pen,Brush)
Initialize a new instance of the Border class with given pen and brush.
Properties
Brush Background
Get or set the brush that is used to fill the background.
Pen Bottom
Get or set the pen that is used to draw the bottom edge.
Pen Left
Get or set the pen that is used to draw the left edge.
Pen Right
Get or set the pen that is used to draw the right edge.
Pen Top
Get or set the pen that is used to draw the top edge.