[]
Creates a rounded-edge, single-line border with the specified color.
public RoundedLineBorder CreateRoundedLineBorder(Color color)
Public Function CreateRoundedLineBorder(color As Color) As RoundedLineBorder
Type | Name | Description |
---|---|---|
Color | color | Color of the line |
Type | Description |
---|---|
RoundedLineBorder | a new instance of LineBorder. |
Creates a rounded-edge, single-line border with the specified color and thickness.
public RoundedLineBorder CreateRoundedLineBorder(Color color, int thickness)
Public Function CreateRoundedLineBorder(color As Color, thickness As Integer) As RoundedLineBorder
Type | Name | Description |
---|---|---|
Color | color | Color of the line |
int | thickness | Thickness of the line in pixels |
Type | Description |
---|---|
RoundedLineBorder | a new instance of LineBorder. |
Creates a rounded-edge, single-line border with the specified color and thickness, and specifies on which sides the border is drawn.
public RoundedLineBorder CreateRoundedLineBorder(Color color, int thickness, bool left, bool top, bool right, bool bottom)
Public Function CreateRoundedLineBorder(color As Color, thickness As Integer, left As Boolean, top As Boolean, right As Boolean, bottom As Boolean) As RoundedLineBorder
Type | Name | Description |
---|---|---|
Color | color | Color of the line |
int | thickness | Thickness of the line in pixels |
bool | left | Whether the line is drawn on the left side of the cell |
bool | top | Whether the line is drawn on the top of the cell |
bool | right | Whether the line is drawn on the right side of the cell |
bool | bottom | Whether the line is drawn on the bottom of the cell |
Type | Description |
---|---|
RoundedLineBorder | a new instance of LineBorder. |