Table of Contents

ExcelWorkbookProperties Class

Definition

Namespace
Bodu.Formats.Excel
Assembly
Bodu.Formats.Excel.Binary.dll
Package
Bodu.Formats.Excel.Binary 1.0.0
Source
ExcelWorkbookProperties.cs

Exposes the flattened document properties of a workbook, read from the compound file's summary-information property sets.

public sealed class ExcelWorkbookProperties
Inheritance
ExcelWorkbookProperties
Inherited Members
Extension Methods

Remarks

The values are sourced from the SummaryInformation and DocumentSummaryInformation streams. A workbook that omits a stream, or whose property set cannot be parsed, yields null for the affected members rather than failing the workbook read. The lower-level property-set model is intentionally not exposed here; the Excel surface presents only the flattened document fields.

Properties

ApplicationName

Gets the name of the application that created the workbook.

public string? ApplicationName { get; }

Property Value

string

The application name, or null when not recorded.

Author

Gets the document author.

public string? Author { get; }

Property Value

string

The author, or null when not recorded.

Category

Gets the document category.

public string? Category { get; }

Property Value

string

The category, or null when not recorded.

Comments

Gets the document comments.

public string? Comments { get; }

Property Value

string

The comments, or null when not recorded.

Company

Gets the company associated with the workbook.

public string? Company { get; }

Property Value

string

The company, or null when not recorded.

Created

Gets the time at which the workbook was created.

public DateTimeOffset? Created { get; }

Property Value

DateTimeOffset?

The creation time, or null when not recorded.

Keywords

Gets the document keywords.

public string? Keywords { get; }

Property Value

string

The keywords, or null when not recorded.

LastPrinted

Gets the time at which the workbook was last printed.

public DateTimeOffset? LastPrinted { get; }

Property Value

DateTimeOffset?

The last-printed time, or null when not recorded.

LastSaved

Gets the time at which the workbook was last saved.

public DateTimeOffset? LastSaved { get; }

Property Value

DateTimeOffset?

The last-saved time, or null when not recorded.

LastSavedBy

Gets the name of the user who last saved the workbook.

public string? LastSavedBy { get; }

Property Value

string

The last author, or null when not recorded.

Manager

Gets the manager associated with the workbook.

public string? Manager { get; }

Property Value

string

The manager, or null when not recorded.

Subject

Gets the document subject.

public string? Subject { get; }

Property Value

string

The subject, or null when not recorded.

Title

Gets the document title.

public string? Title { get; }

Property Value

string

The title, or null when not recorded.

Applies to

ProductVersions
.NET8, 10