I can’t found if i can convert an int number to text with CardText in aspose word .net
i don’t found an example
like when i pass an object to the template with value 1200 i’d like to show one thousand two hundred in my docx file
can any one help me please
Thanks for your inquiry. You can use Mail Merge feature of Aspose.Words to accomplish your requirement. Please check following sample code and attached files for reference. CardText.zip (17.1 KB)
Document doc = new Document(@"CardText.docx");
doc.MailMerge.Execute(
new string[] { "shares" },
new object[] { 1200 });
doc.UpdateFields();
doc.Save(@"CardText_177.docx");
1 Like
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.