Can font of certain text be changed using Aspose.Word

Hi,
Can you please tell me that if we can change the font of certain text in Word document using Aspose.Word API?
If yes, then please tell me how we can do that.
Thanks,
Bhoomica

Hi

Thanks for your request. Yes, you can change font of text using Aspose.Words. Do you need to find some particular text and changed its font? If so, I think that attached article could be useful for you. If no, please describe your goal and I will try to help you.
Best regards.

Hi,
What I have done is that I have changed certain text font using some TTF file using following code.
------------------------------------------------------------------------------------------------

docBuilder.moveToBookmark("barcode");
Font f = docBuilder.getFont();
f.setName("Code 3 of 9");
f.setSize(48);
docBuilder.write(XMLDataExtraction.getPolicyId(xml)
+ XMLDataExtraction.getDocumentId(xml));

---------------------------------------------------------------------------------------------------
Can you tell me a way so that I can save it as an image?
I mean I am able to see the word file with the changed font but this can be changed to some other font & I don’t want that. So, I want to save it as an image.
Can I do that?
So, in short the text will be displayed as an image in word.
I am attaching the resultant word file.
Thanks,
Bhoomica

Hi

Thank you for additional information. Maybe you can just protect your document, so clients will no able to change anything in it.
https://docs.aspose.com/words/net/protect-or-encrypt-a-document/
In addition, maybe you can try using Aspose.BarCode to generate barcode.
https://docs.aspose.com/barcode/net/product-overview/
Best regards.