Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Mon Feb 28, 2011 9:00 am

When I do some edit work for my boss, I just write something wrong. I want to delete them, but the boss doesn't agree, he wants to retain the trace. May I use Spire.Doc to do it??

Posts: 14
Joined: Tue Nov 30, 2010 7:21 am

Fri Mar 04, 2011 1:57 am

Of course you can. There is a text format named DoubleStrike aiming at your situation. It's a boolen variable. You may use the following code:
TextRange txt= p1.AppendText("Paragraph1");
txt.CharacterFormat.DoubleStrike = true;
e-iceblue support
User avatar

iceblue support
Posts: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.Doc