DoubleStrikeThrough

Hello, I cannot get the DoubleStrikeThrough to work.
The StrikeThrough does work, but when I change to DoubleStrikeThrough, it doesn’t.
Here is the code I am using:

Aspose.Word.Document doc = new Aspose.Word.Document();
doc = new Aspose.Word.Document("c:\temp.doc"); 
DocumentBuilder builder = new DocumentBuilder(doc);
builder.MoveToMergeField("MyFee");
//builder.Font.DoubleStrikeThrough = true;
builder.Font.StrikeThrough = true;
builder.Write(MyFee);

doc.MailMerge.Execute(…);

Hi,

Thank you for considering Aspose.

Both StrikeThrough and DoubleStrikeThrough work fine for me. Please attach your document.

Hi, can you give me an email to send this to, I don’t want to post the document to the public.
Thanks!

Attachments are not public, they are visible exclusively by you and Aspose in accordance with this Non-Disclosure Statement:

https://forum.aspose.com/t/2549

So do not worry about your privacy.

Ok, great, sorry about that.
Here is the document…

Starnge, here’s the code I used for testing:

DocumentBuilder builder = new DocumentBuilder(doc);

string[] fieldNames = doc.MailMerge.GetFieldNames();

foreach (string fieldName in fieldNames)
{
builder.MoveToMergeField(fieldName);
builder.Font.DoubleStrikeThrough = true;
builder.Write("Test");
}

As you can see, all merge fields in your document have been replaced with double struck through text.

  1. Please make sure you are using the latest version of Aspose.Word.

  2. Post or attach the complete fragment of your code (from instantiating to saving).