From 364841f92ef4f05fd2da8dcf62591e4cee71adaf Mon Sep 17 00:00:00 2001 From: meld-cp <18450687+meld-cp@users.noreply.github.com> Date: Sat, 13 Jul 2024 12:26:14 +1200 Subject: [PATCH] add docs for Freeze Panes --- README.md | 16 ++++++++++++++++ docs/images/freeze-pane-1.png | Bin 0 -> 3159 bytes 2 files changed, 16 insertions(+) create mode 100644 docs/images/freeze-pane-1.png diff --git a/README.md b/README.md index 28722f4..0bdfedf 100644 --- a/README.md +++ b/README.md @@ -658,6 +658,22 @@ MiniExcel.SaveAs(@"C:\temp\Book1.xlsx", dt, configuration: configuration); Works for null and DBNull values. +#### 14. Freeze Panes +```csharp +/* ... */ + +OpenXmlConfiguration configuration = new OpenXmlConfiguration() +{ + FreezeRowCount = 1, // default is 1 + FreezeColumnCount = 2 // default is 0 +}; + +MiniExcel.SaveAs(@"C:\temp\Book1.xlsx", dt, configuration: configuration); +``` + +![image](docs/images/freeze-pane-1.png) + + ### Fill Data To Excel Template - The declaration is similar to Vue template `{{variable name}}`, or the collection rendering `{{collection name.field name}}` diff --git a/docs/images/freeze-pane-1.png b/docs/images/freeze-pane-1.png new file mode 100644 index 0000000000000000000000000000000000000000..bbc70937ce7dd59f99b9f9d0e3f066cfa3ef2ec2 GIT binary patch literal 3159 zcmY*cdpHwp8=r(~&a#NNImKHe$>;R0u(rsl17?hJ3X7&xPC1ohNM41S<5nTl=2) zU;P>q^z#qT006*Q2L#ML<}|<5DSQ025?y#{sl_HWN5Q;#DA4#WEv!*3P|YXC-_JOq z9PXPQ;P_|Ujm+3%>!92pt8H`B(grS~vPOp}YRJSGof%eL&9&gVirU7bbw0n@fD2YJu5_x1;-+ z$-A5R?=#Lil5WTuNsBRKV`7K-V{A{k6EFPC#-q5=f#Jq7EI4HDHMiNNvcJod36cPs zFGDRY>k2jMOHRcF#6Bz>EDCx~>L>?2{2?mj-FGl0Uv>+vFee8+Pi7<15TwUPEbiF23OvhreUfs8wM8k$_ zH91kiMU|gXopa`#W~m!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