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

NameTypeAccessDescription
SideBorderSideRead/WriteGets or sets the side.
WidthdoubleRead/WriteGets or sets the border line width in points (1/72 inch).
ColorColorRead/WriteGets or sets the border line colour.
TopGraphInfoRead/WriteGets or sets the line style of the top side.
BottomGraphInfoRead/WriteGets or sets the line style of the bottom side.
LeftGraphInfoRead/WriteGets or sets the line style of the left side.
RightGraphInfoRead/WriteGets or sets the line style of the right side.
RoundedBorderRadiusdoubleRead/WriteGets or sets the corner radius in points.

Methods

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

See Also

 English