Posts

C#/VB.NET: How to Apply Formatting to Characters in Word

Image
  Character format settings are used to control how characters are displayed and printed on the screen. The character formats in Word documents include: font, font size, font color, highlight color, border, underline, italic, shaded word, emphasis, etc. Readers can be drawn to important points of content by well-formatted text. Applying character formatting can make simple documents more attractive than plain text alone. This article will introduce you an efficient and convenient method to apply formatting to characters in Word programmatically. For your reference, we have attached the C#/VB.NET code. Programming Environment In this test, Free Spire.Doc for .NET is introduced into the program. The Spire.Doc.dll file can be referenced by: Method 1: Download Free Spire.Doc for .NET locally, unzip it, and install it. After the installation is complete, find Spire.Doc.dll in the BIN folder under the installation path. Then open the "Solution Explorer" in Visual Studio, ri...

How to Convert PDF to Word in Java?

Image
 As we all know, PDF documents not only have strong stability and compatibility, but also have strong security, which can effectively prevent others from inadvertently modifying the content of the document in the work. But at the same time, it also prevents the normal modification of the document. At this point, we can convert the PDF to Word document for modification or re-editing. Using software to convert PDF documents to Word documents is simple, but maintaining the layout and even the font format while converting is not. This article is divided into two parts on how to convert a PDF document to a Word document while maintaining the layout. Convert PDF to Doc/Docx with Fixed Layout Convert PDF to Doc/Docx with Flowable Structure Fixed Layout mode has fast conversion speed and is conducive to maintaining the original appearance of PDF files to the greatest extent. However, the editability of the resulting document will be limited since each line of text in PDF will be presen...

C#/VB.NET How to Accept or Reject Tracked Changes in Excel?

Image
The revision function can track all the revisions of the document and understand the revision process, which is a very useful function for the team to collaborate on document editing and review. When sending the workbook to others for review, we can enable the revision function. After the shared workbook is modified, the user can choose to accept or reject the data information modified by others when viewing the document. This article will introduce you in detail how to accept or reject revisions in Excel.   Accept All Tracked Changes in a Workbook Reject All Tracked Changes in a Workbook Programming Environment In this test, Free Spire.XLS for .NET is introduced into the program. The Spire.XLS.dll file can be referenced by: Method 1:  Download  Free Spire.XLS for .NET  locally, unzip it, and install it. After the installation is complete, find Spire.XLS.dll in the BIN folder under the installation path. Then open the "Solution Explorer" in Visual Studio, r...