Delete text without wiping them

Technical support for Spire.Doc

Moderator: iceblue support

Delete text without wiping them

Postby tom » 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??
tom
 
Posts: 14
Joined: Tue Nov 30, 2010 7:21 am

Re: Delete text without wiping them

Postby iceblue support » 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: 244
Joined: Tue Dec 21, 2010 2:56 am


Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests