BorderInfo
Overview
BorderInfo is a class in Aspose.PDF FOSS for .NET.
Represents border information for table cells and rows.
This class declares 10 methods for BorderInfo objects in .NET programs.
Available methods include: BorderInfo, Clone.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Bottom, Color, Left, Right, RoundedBorderRadius, Side, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Side | BorderSide | Read/Write | Gets or sets the side. |
Width | double | Read/Write | Gets or sets the border line width in points (1/72 inch). |
Color | Color | Read/Write | Gets or sets the border line colour. |
Top | GraphInfo | Read/Write | Gets or sets the line style of the top side. |
Bottom | GraphInfo | Read/Write | Gets or sets the line style of the bottom side. |
Left | GraphInfo | Read/Write | Gets or sets the line style of the left side. |
Right | GraphInfo | Read/Write | Gets or sets the line style of the right side. |
RoundedBorderRadius | double | Read/Write | Gets or sets the corner radius in points. |
Methods
| Signature | Description |
|---|---|
BorderInfo() | Creates a border with no sides selected, 1 point wide and black. |
BorderInfo(borderSide: BorderSide) | Creates a 1-point black border on the given sides. |
BorderInfo(borderSide: BorderSide, width: double) | Creates a black border on the given sides with the given width in points. |
BorderInfo(borderSide: BorderSide, borderWidth: float) | Creates a black border on the given sides with the given width in points. |
BorderInfo(borderSide: BorderSide, width: double, color: Color) | Creates a border on the given sides with the given width in points and colour. |
BorderInfo(borderSide: BorderSide, borderWidth: float, borderColor: Color) | Creates a border on the given sides with the given width in points and colour. |
BorderInfo(borderSide: BorderSide, borderColor: Color) | Creates a 1-point border on the given sides in the given colour. |
BorderInfo(borderSide: BorderSide, info: GraphInfo) | Creates a border on the given sides that uses one line style for all four sides; the width is taken from the style’s LineWidth. |
Clone() | Calls Clone on this BorderInfo instance. |
BorderInfo(commonStyle: BorderPartStyle) | Calls BorderInfo(commonStyle) on this BorderInfo instance. |