We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Insert Windings Symbols to Aspose Word

Hello Team,

We have Aspose 5.3.0.0. We want to Insert Checkbox by Using Insert Symbol feature from Word.

These are the options and Symbols , we want to insert.

Font Name Symbol code
Windings ==> 111
Windings 2 ==> 163

Please advise me some sample code to insert Checkboxes.

Thanks

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. You can also insert checkbox as form field. Please see the following code for instance:

//Create Document and DocumentBuilder

Document doc = new Document();

DocumentBuilder builder = new DocumentBuilder(doc);

//Insert chackbox as formfield

builder.InsertCheckBox("myCheck", true, 10);

builder.Writeln("This is form field Checkbox");

//Insert Checkbox as Wingdings character

builder.Font.Name = "Wingdings 2";

builder.Write(char.ConvertFromUtf32(163));

builder.Font.ClearFormatting();

builder.Write("This is Wingdings character");

//Save docuemnt

doc.Save(@"Test172\out.doc");

Best regards.

Thanks for your Help.

Its worked.