[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDocumentProperty

IDocumentProperty Interface

Represents a custom or built-in document property.

An IDocumentProperty exposes workbook metadata such as the property name, value, type, and whether a custom property is linked to worksheet content. Custom properties can be created directly or linked to a named range so the property value reflects the referenced cell content.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface IDocumentProperty
Public Interface IDocumentProperty
Examples
worksheet.Range["A1"].Value = "Hello";
workbook.Names.Add("Headings", "=Sheet1!$A$1");
IDocumentProperty property = workbook.CustomDocumentProperties.AddLinkToContent("Title", "Headings");
object value = property.Value;

Properties

Name Description
LinkSource

Gets the source of the linked content for this document property.

LinkToContent

Gets whether this document property is linked to workbook content.

Name

Gets the name of the property.

Type

Gets the data type of the document property.

Value

Gets or sets the value of the property.