summaryrefslogtreecommitdiffhomepage
path: root/examples/add_border_example.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/add_border_example.md')
-rw-r--r--examples/add_border_example.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/add_border_example.md b/examples/add_border_example.md
index d64b940d..baa8f3a8 100644
--- a/examples/add_border_example.md
+++ b/examples/add_border_example.md
@@ -18,6 +18,13 @@ wb.add_worksheet do |sheet|
sheet.add_border "B2:D5"
sheet.add_border "B3:D3", { edges: [:top], style: :thick }
sheet.add_border ["C3:C4", "D3:D4"]
+
+ #sheet.add_border "E1"
+ #sheet.add_border "E1:E5", [:top, :bottom, :left, :right]
+ #sheet.add_border "E1:E5", :all
+ #sheet.add_border "E1:E5", Axlsx::Border::EDGES
+ #sheet.add_border "E1:E5", {edges: :all, style: :thick}
+ #sheet.add_border "E1:E5", {edges: [:top], style: :thick, color: "FFFFF00"}
end
p.serialize "add_border.xlsx"