Creates a border element for a WordprocessingML document.
Used to create border specifications for paragraphs, tables, table cells, and sections. The element name is specified to create different border types (top, bottom, left, right, etc.).
// Create a top bordercreateBorderElement("w:top", { style: BorderStyle.SINGLE, color: "FF0000", size: 24, space: 1,}); Copy
// Create a top bordercreateBorderElement("w:top", { style: BorderStyle.SINGLE, color: "FF0000", size: 24, space: 1,});
Creates a border element for a WordprocessingML document.
Used to create border specifications for paragraphs, tables, table cells, and sections. The element name is specified to create different border types (top, bottom, left, right, etc.).