【问题标题】:Replacement for BuiltInDocumentProperties, When upgrading .Net project's Aspose Cells from 4.7.1.0 to 8.4.0?替换 BuiltInDocumentProperties,将 .Net 项目的 Aspose Cells 从 4.7.1.0 升级到 8.4.0 时?
【发布时间】:2015-03-21 11:29:00
【问题描述】:

我刚刚尝试为 DLL Aspose 单元 8.4.0 设置新的引用。而且我看到很多错误,因为新版本的 aspose 单元不支持的属性或对象。

- Aspose.Cells.Rows
-Aspose.Cells.Columns
-Aspose.Cells.Comments
-Aspose.Cells.BuiltInDocumentProperties
-Aspose.Cells.Validations
-Aspose.Cells.Styles
-Aspose.Cells.Worksheets

我在新的 8.4.0 中找到了上述内容的一些替代品。 aspose细胞;

-Aspose.Cells.Row
-Aspose.Cells.Column
-Aspose.Cells.Comment
-________
-Aspose.Cells.Validation
-Aspose.Cells.Style
-Aspose.Cells.Worksheet

我现在更改了这么多属性,但没有找到任何 BuiltInDocumentProperties。 什么可以代替这个。?有人可以帮忙吗?

【问题讨论】:

    标签: cells aspose aspose-cells


    【解决方案1】:

    它位于 Aspose.Cells.Properties 命名空间中。

    Aspose.Cells.Workbook workbook = new Workbook();
    // Get reference to property collection
    Aspose.Cells.Properties.BuiltInDocumentPropertyCollection properties = workbook.BuiltInDocumentProperties;
    // Get individual properties
    String author = properties.Author;
    String company = properties.Company;
    

    我为 Aspose 工作,担任开发人员宣传员。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多