Sheet.CreateBorder Method
Protected Overridable Function CreateBorder( _
ByVal width As Double, _
ByVal height As Double, _
ByVal rows As Integer, _
ByVal columns As Integer, _
Optional ByVal color As Nullable(Of Color) = null, _
Optional ByVal lineWeight As Single = DefaultThickLineWeight, _
Optional ByVal textHeight As Double = DefaultBorderTextHeight, _
Optional ByVal externalBorderGap As Double = DefaultExternalBorderGap, _
Optional ByVal createExternalBorder As Boolean = true, _
Optional ByVal externalBorderLineWeight As Single = DefaultFineLineWeight _
) As Entity()
This language is not supported or no code example is available.
protected virtual Entity[] CreateBorder(
double width,
double height,
int rows,
int columns,
Nullable<Color> color = null,
float lineWeight = DefaultThickLineWeight,
double textHeight = DefaultBorderTextHeight,
double externalBorderGap = DefaultExternalBorderGap,
bool createExternalBorder = true,
float externalBorderLineWeight = DefaultFineLineWeight
)
This language is not supported or no code example is available.
Parameters
- width
- double
Width of the drawing border.
- height
- double
Height of the drawing border.
- rows
- int
Rows number of the drawing border (vertical subdivision).
- columns
- int
Colums number of the drawing border (horizontal subdivision).
Border color. If null or empty, default color is black.
- lineWeight
- float
The line weight.
- textHeight
- double
Height for numbers and letters.
- externalBorderGap
- double
Gap between the border lines. It's also used to compute numbers and letters center point.
- createExternalBorder
- bool
When true the lines for external border are created.
- externalBorderLineWeight
- float
The line weight for external border.