一级日韩免费大片,亚洲一区二区三区高清,性欧美乱妇高清come,久久婷婷国产麻豆91天堂,亚洲av无码a片在线观看

aspose.words解決實(shí)現文檔格的中創(chuàng )word方法

時(shí)間:2024-10-19 07:26:00 office辦公 我要投稿
  • 相關(guān)推薦

aspose.words解決實(shí)現文檔格的中創(chuàng )word方法

  代碼如下所示:

  復制代碼 代碼如下:

  //Open document and create Documentbuilder

  Aspose.Words.Document doc = new Aspose.Words.Document("demo.doc");

  DocumentBuilder builder = new DocumentBuilder(doc);

  //Set table formating

  //Set borders

  builder.CellFormat.Borders.LineStyle = LineStyle.Single;

  builder.CellFormat.Borders.Color = Color.Red;

  //Set left indent

  builder.RowFormat.LeftIndent = 100;

  // etc...

  //Move documentBuilder cursor to the bookmark

  builder.MoveToBookmark("myBookmark");

  //Insert some table

  for (int i = 0; i < 5; i++)

  {

  for (int j = 0; j < 5; j++)

  {

  builder.InsertCell();

  builder.Write("this is cell");

  }

  builder.EndRow();

  }

  builder.EndTable();

  //Save output document

  doc.Save("demo2.doc");

【aspose.words解決實(shí)現文檔格的中創(chuàng )word方法】相關(guān)文章:

Word文檔字數快速統計的方法09-02

《在WORD文檔中插入圖片》說(shuō)課稿07-09

如何取消Word文檔中的超鏈接11-19

Word輕松設置長(cháng)文檔的頁(yè)眉頁(yè)腳方法02-21

Word2007文檔中顯示文本動(dòng)畫(huà)的操作方法07-17

如何取消Word文檔中的超鏈接呢09-23

word停止工作的解決方法08-18

word中輸入分數的方法07-02

Word文檔1.25倍行間距的設置方法12-27

如何給word文檔加密08-02

一级日韩免费大片,亚洲一区二区三区高清,性欧美乱妇高清come,久久婷婷国产麻豆91天堂,亚洲av无码a片在线观看