@@ -75,7 +75,7 @@ MiniWord.SaveAsByTemplate(path, templatePath, value);
7575
7676![ image] ( https://user-images.githubusercontent.com/12729184/190647953-6f9da393-e666-4658-a56d-b3a7f13c0ea1.png )
7777
78- ##### 效果
78+ ##### 导出
7979
8080![ image] ( https://user-images.githubusercontent.com/12729184/190648179-30258d82-723d-4266-b711-43f132d1842d.png )
8181
@@ -98,10 +98,53 @@ MiniWord.SaveAsByTemplate(path, templatePath, value);
9898
9999![ image] ( https://user-images.githubusercontent.com/12729184/190645513-230c54f3-d38f-47af-b844-0c8c1eff2f52.png )
100100
101- ##### 效果
101+ ##### 导出
102102
103103![ image] ( https://user-images.githubusercontent.com/12729184/190645704-1f6405e9-71e3-45b9-aa99-2ba52e5e1519.png )
104104
105+ ### 表格
106+
107+ 标签值为 ` IEmerable<Dictionary<string,object>> ` 类别
108+
109+ ##### 代码例子
110+
111+ ``` csharp
112+ var value = new Dictionary <string , object >()
113+ {
114+ [" TripHs" ] = new List <Dictionary <string , object >>
115+ {
116+ new Dictionary <string , object >
117+ {
118+ { " sDate" ,DateTime .Parse (" 2022-09-08 08:30:00" )},
119+ { " eDate" ,DateTime .Parse (" 2022-09-08 15:00:00" )},
120+ { " How" ," Discussion requirement part1" },
121+ { " Photo" ,new MiniWordPicture () { Path = PathHelper .GetFile (" DemoExpenseMeeting02.png" ), Width = 160 , Height = 90 }},
122+ },
123+ new Dictionary <string , object >
124+ {
125+ { " sDate" ,DateTime .Parse (" 2022-09-09 08:30:00" )},
126+ { " eDate" ,DateTime .Parse (" 2022-09-09 17:00:00" )},
127+ { " How" ," Discussion requirement part2 and development" },
128+ { " Photo" ,new MiniWordPicture () { Path = PathHelper .GetFile (" DemoExpenseMeeting01.png" ), Width = 160 , Height = 90 }},
129+ },
130+ }
131+ };
132+ MiniWord .SaveAsByTemplate (path , templatePath , value );
133+ ```
134+
135+ ##### 模版
136+
137+ ![ image] ( https://user-images.githubusercontent.com/12729184/190843632-05bb6459-f1c1-4bdc-a79b-54889afdfeea.png )
138+
139+
140+ ##### 导出
141+
142+ ![ image] ( https://user-images.githubusercontent.com/12729184/190843663-c00baf16-21f2-4579-9d08-996a2c8c549b.png )
143+
144+
145+
146+
147+
105148## 支持我 : [ Donate Link] ( https://miniexcel.github.io/ )
106149
107150<a href =" https://user-images.githubusercontent.com/12729184/158003727-ca348041-5e59-44bc-a694-f400777e0252.jpg " ><img src =" https://user-images.githubusercontent.com/12729184/158003727-ca348041-5e59-44bc-a694-f400777e0252.jpg " alt =" wechat " width =" 200px " height =" 300px " >
0 commit comments