【问题标题】:aspose.word returns only first table and sectionaspose.word 只返回第一个表和部分
【发布时间】:2013-05-13 13:55:46
【问题描述】:

我有 office word 2013 .docx 文件,其中有很多部分和表格。 我不知道为什么像下面这样的所有集合都返回单个项目,而我的 .docx 中有很多集合?

  Document document = new Document(filePath);
  int sectionsCount=document.Sections.Count;
  int firstSectionTablesCount=document.FirstSection.Body.Tables.Count;

谢谢

【问题讨论】:

    标签: c# nuget docx aspose


    【解决方案1】:

    这是我的错,因为我没有申请许可证,我只有第一个表和部分 id 文档。

    申请执照:

            Aspose.Words.License license=new License();
            license.SetLicense("Aspose.Words.lic");
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-04-15
      • 1970-01-01
      • 2022-08-18
      • 1970-01-01
      • 2019-03-22
      • 1970-01-01
      相关资源
      最近更新 更多