OdtHelperReplaceContent Method

以字典內容更換字串

Definition

Namespace: eBizprise.Utility
Assembly: eBizprise.Utility.OdfHelper (in eBizprise.Utility.OdfHelper.dll) Version: 25.0.1.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
C#
public void ReplaceContent(
	Dictionary<string, string> dict1
)

Parameters

dict1  DictionaryString, String
更換字串清單

Example

C#
//取代字串清單
Dictionary<string, string> replaceList = new Dictionary<string, string>();
replaceList.Add("ExportDate", DateTime.Now.ToString("yyyy/MM/dd"));
odtHelper.ReplaceContent(replaceList);

Revision History

DateVersionDescription
2021/04/221.0.0.0初版

See Also