![]() Access the specific borders, such as top borders, bottom borders, left borders, right borders from the borders collection using Borders.Top, Borders.Bottom, Borders.Left, Borders.Right properties, then set the line style, width and color for the specific borders.Get the borders collection of the table using property.Add a table to the section using Section.AddTable() method, then set the number of rows and columns of the table using Table.ResetCells() method.Add a section to the document using Document.AddSection() method.Initialize an instance of the Document class.Besides, you are also able to apply borders to specific table cells. NET, you can set different types of borders, such as top borders, bottom borders, left borders, right borders, inside borders and diagonal borders to a Word table. ![]() PM> Install-Package Spire.Doc Set Borders for Word Tables or Cells using C# and VB.NET
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |