ZennoLab Assemblies Documentation
CreateBorder Method
Example 

Type: ZennoLab.InterfacesLibrary.Enums.Table.ExcelStyle.Borders

Border position.

Type: System.Drawing.Color

The border color.

Type: InterfacesLibrary.Enums.Table.ExcelStyle.LineStyle

Border line style.

Create border style.
Syntax
public static ZennoTableStyle.Border CreateBorder( 
   Borders position,
   Color color,
   LineStyle lineStyle
)

Parameters

position

Type: ZennoLab.InterfacesLibrary.Enums.Table.ExcelStyle.Borders

Border position.

color

Type: System.Drawing.Color

The border color.

lineStyle

Type: InterfacesLibrary.Enums.Table.ExcelStyle.LineStyle

Border line style.

Example
var border = InterfacesLibrary.ProjectModel.ZennoTableStyle.Border.CreateBorder(InterfacesLibrary.Enums.Table.ExcelStyle.Borders.Right | InterfacesLibrary.Enums.Table.ExcelStyle.Borders.DiagonalUp, Color.Blue, InterfacesLibrary.Enums.Table.ExcelStyle.LineStyle.DashDot);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

ZennoTableStyle.Border Class
ZennoTableStyle.Border Members

Send Feedback