OdtHelperReplaceContent Method
以字典內容更換字串
Namespace: eBizprise.UtilityAssembly: eBizprise.Utility.OdfHelper (in eBizprise.Utility.OdfHelper.dll) Version: 25.0.1.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
public void ReplaceContent(
Dictionary<string, string> dict1
)
Parameters
- dict1 DictionaryString, String
- 更換字串清單
//取代字串清單
Dictionary<string, string> replaceList = new Dictionary<string, string>();
replaceList.Add("ExportDate", DateTime.Now.ToString("yyyy/MM/dd"));
odtHelper.ReplaceContent(replaceList);
| Date | Version | Description |
|---|
| 2021/04/22 | 1.0.0.0 | 初版 |