首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >BuiltInDocumentProperties的替换,当.Net项目的Aspose单元从4.7.1.0升级到8.4.0时?

BuiltInDocumentProperties的替换,当.Net项目的Aspose单元从4.7.1.0升级到8.4.0时?
EN

Stack Overflow用户
提问于 2015-03-20 05:28:24
回答 1查看 94关注 0票数 0

我只是尝试为DLL Aspose单元8.4.0设置一个新的引用。我看到了很多错误,因为新版本的aspose单元格中不支持的属性或对象。

代码语言:javascript
复制
- Aspose.Cells.Rows
-Aspose.Cells.Columns
-Aspose.Cells.Comments
-Aspose.Cells.BuiltInDocumentProperties
-Aspose.Cells.Validations
-Aspose.Cells.Styles
-Aspose.Cells.Worksheets

我在新的8.4.0中找到了一些替代上面的东西。脂肪细胞;

代码语言:javascript
复制
-Aspose.Cells.Row
-Aspose.Cells.Column
-Aspose.Cells.Comment
-________
-Aspose.Cells.Validation
-Aspose.Cells.Style
-Aspose.Cells.Worksheet

我现在已经更改了这些属性,但是没有找到BuiltInDocumentProperties.的任何属性。什么可以代替这个?有人能帮忙吗?

EN

回答 1

Stack Overflow用户

发布于 2015-03-21 03:29:00

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

代码语言:javascript
复制
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;

我是阿斯坡公司的开发人员,布道者。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29159996

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档