| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > ZennoTableStyle Class > SetBorder Method : SetBorder(Borders,Color,LineStyle) Method |
Type: ZennoLab.InterfacesLibrary.Enums.Table.ExcelStyle.Borders
Border position.
Type: System.Drawing.Color
The border color.
Type: lineStyle
Border line style.
Type: ZennoLab.InterfacesLibrary.Enums.Table.ExcelStyle.Borders
Border position.
Type: System.Drawing.Color
The border color.
Type: lineStyle
Border line style.
var style = new ZennoTableStyle(); style.SetBorder(InterfacesLibrary.Enums.Table.ExcelStyle.Borders.Right | InterfacesLibrary.Enums.Table.ExcelStyle.Borders.DiagonalUp, Color.Blue, InterfacesLibrary.Enums.Table.ExcelStyle.LineStyle.DashDot);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.