Home > Net >  Questions about NPOI operation word tables.
Questions about NPOI operation word tables.

Time:10-18

Recently doing a output word documents project, considering the compatibility problems, chose the npoi output word, but for the operation of the excel example many online, for only a few word, want to consult everybody bosses how to modify the word form font and font size,

CodePudding user response:

NPOI operation no aspose word. The word to use, it is suggested that using aspose. What word, this to write text word, paragraph are very convenient

Document doc=new Document ();//create a document
DocumentBuilder builder=new DocumentBuilder (doc);//create write object
Builder. Writeln (" write paragraphs ");
Doc. Save (" C: \ \ 123. Docx ");//save the word file

CodePudding user response:

Domestic Spire. There is a Free Word library Free Word Doc for the.net operation good
 range. CharacterFormat. FontName="Arial"; 
Range. CharacterFormat. FontSize=12;

From the original: c # to create tables in Word

CodePudding user response:

refer to the second floor qq_36492588 response:
domestic Spire. There is a Free Word library Free Word Doc for the.net operation good
 range. CharacterFormat. FontName="Arial"; 
Range. CharacterFormat. FontSize=12;

From the original: c # to create tables in Word
ok, thank you!

CodePudding user response:

references a name te 1/f, difficult to reply:
NPOI operation no aspose word. The word to use, suggest using aspose. What word, this to write text word, paragraph are very convenient

Document doc=new Document ();//create a document
DocumentBuilder builder=new DocumentBuilder (doc);//create write object
Builder. Writeln (" write paragraphs ");
Doc. Save (" C: \ \ 123. Docx ");//save the word file
thank you!

CodePudding user response:

references a name te 1/f, difficult to reply:
NPOI operation no aspose word. The word to use, suggest using aspose. What word, this to write text word, paragraph are very convenient

Document doc=new Document ();//create a document
DocumentBuilder builder=new DocumentBuilder (doc);//create write object
Builder. Writeln (" write paragraphs ");
Doc. Save (" C: \ \ 123. Docx ");//save the word file

This plugin you need to install office

CodePudding user response:

Npoi you haven't run into big form high data
You will shed tears

CodePudding user response:

refer to 6th floor qq14923349 response:
npoi you haven't run into big form high data
You will cry

Leading to me last week, the data of more than 200 data import table

CodePudding user response:

refer to 6th floor qq14923349 response:
npoi you haven't run into big form high data
You will cry


You are silly, the somebody else is for file operations, you won't deal with it

CodePudding user response:

Understand the DOCX component

CodePudding user response:

refer to the eighth floor qq_42693490 response:
Quote: refer to the sixth floor qq14923349 response:

Npoi you haven't run into big form high data
You will cry


You are silly, the somebody else is for file operations, you won't deal with

You his mama just silly npoi you too much data? Speed?
  •  Tags:  
  • C #
  • Related