EasyXLS

Document properties

EasyXLS™ library provides methods for handling the file properties of an Excel document.

There are two kinds of properties that can be defined, preset document properties and custom document properties.

The preset document properties includes title, subject, categories, comments, author, company, manager, keywords, revision number and others.

By using custom document properties feature you can define your own document properties. You can assign a text, date, or numeric value to custom file properties, and you can also assign them the values "Yes" or "No."

EasyXLS allows you to export the document properties for an Excel file. It also allows you to read the document properties of an Excel file.

Set document properties

EasyXLS allows you to export properties to Excel file using the set methods from SummaryInformation and DocumentSummaryInformation classes.

The below source code sample shows how to set the document properties of an Excel file, properties like subject, manager and a custom property.

C#.NET
VB.NET
C++
Java
PHP
ASP
VB6
VBS
Coldfusion
Python
The screen shots provide an example of an Excel file that has some document properties.

Excel document properties Excel custom document properties

Read document properties

EasyXLS allows you to read the properties of Excel file using the get methods from SummaryInformation and DocumentSummaryInformation classes.

The below source code sample shows how to read the document properties of an Excel file, properties like author, company and a custom property.

C#.NET
VB.NET
C++
Java
PHP
ASP
VB6
VBS
Coldfusion
Python
 

Available for: Professional, Excel Writer, Excel Reader
Go to top

EasyXLS Excel libraries:

.NET
.NET Excel Library
full .NET version to import, export or convert Excel files
COM+ Excel Library
full COM+ version to import, export or convert Excel files
-
Java
Java Excel Library
full Java version to import, export or convert Excel files
Download EasyXLS™ Excel Library for .NET and Java

File formats:

Office 365
MS Excel 2021 - 2024
MS Excel 2007 - 2019
MS Excel 97 - 2003
XLSXXLSMXLSBXLS
XMLHTMLCSVTXT