| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace : ZennoTableStyle Class |

public class ZennoTableStyle : System.MarshalByRefObject
get table by name "MyTable" var table = project.Tables["MyTable"]; // create style var style = new ZennoTableStyle { HorizontalAlignment = InterfacesLibrary.Enums.Table.ExcelStyle.HorizontalAlignment.Right, VerticalAlignment = InterfacesLibrary.Enums.Table.ExcelStyle.VerticalAlignment.Bottom, Font = new Font("Comic Sans MS", 20, FontStyle.Italic | FontStyle.Underline, GraphicsUnit.Point), FontColor = Color.Red }; style.SetBorder(InterfacesLibrary.Enums.Table.ExcelStyle.Borders.Right | InterfacesLibrary.Enums.Table.ExcelStyle.Borders.DiagonalUp, Color.Blue, InterfacesLibrary.Enums.Table.ExcelStyle.LineStyle.DashDot); // set style table.SetRowStyle(0, style);
System.Object
System.MarshalByRefObject
ZennoLab.InterfacesLibrary.ProjectModel.ZennoTableStyle
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.