Inserting Symbol



I was wondering if it is possible to insert symbol into a word document using Aspose.Word.

I’m asking this because I want to use the white square and the black square to give the impression of checked / unchecked option in my word document.

If possible, will it still work when saving it into pdf using Aspose.Pdf ?

Thanks for a quick answer!



This is certainly possible, simply insert appropriate Unicode characters into the document. For instance, this code inserts the two squares, black and white:

Document doc = new Document();

DocumentBuilder builder = new DocumentBuilder(doc);


doc.Save(Path.Combine(testPath, "result.doc"));

They will also retain when the document is converted to PDF.