Class OfficeProperties¶
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Provides access to the properties bag of the package
Inheritance¶
object ← XmlHelper ← OfficeProperties
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
AppVersion¶
Gets/Set the AppVersion property of the document (extended property)
Property Value¶
Application¶
Gets/Set the Application property of the document (extended property)
Property Value¶
Author¶
Gets/sets the author property of the document (core property)
Property Value¶
Category¶
Gets/sets the category property of the document (core property)
Property Value¶
Comments¶
Gets/sets the comments property of the document (core property)
Property Value¶
Company¶
Gets/sets the Company property of the document (extended property)
Property Value¶
CorePropertiesXml¶
Provides access to the XML document that holds all the code document properties.
Property Value¶
XmlDocument
Created¶
Gets/sets the created property of the document (core property)
Property Value¶
CustomPropertiesXml¶
Provides access to the XML document which holds the document's custom properties
Property Value¶
XmlDocument
ExtendedPropertiesXml¶
Provides access to the XML document that holds the extended properties of the document (app.xml)
Property Value¶
XmlDocument
HyperlinkBase¶
Gets/sets the HyperlinkBase property of the document (extended property)
Property Value¶
Uri
HyperlinksChanged¶
Hyperlinks need update
Property Value¶
Keywords¶
Gets/sets the keywords property of the document (core property)
Property Value¶
LastModifiedBy¶
Gets/sets the lastModifiedBy property of the document (core property)
Property Value¶
LastPrinted¶
Gets/sets the lastPrinted property of the document (core property)
Property Value¶
LinksUpToDate¶
Indicates whether hyperlinks in a document are up-to-date
Property Value¶
Manager¶
Gets/sets the Manager property of the document (extended property)
Property Value¶
Modified¶
Gets/sets the modified property of the document (core property)
Property Value¶
ScaleCrop¶
Display mode of the document thumbnail. True to enable scaling. False to enable cropping.
Property Value¶
SharedDoc¶
If true, document is shared between multiple producers.
Property Value¶
Status¶
Gets/sets the status property of the document (core property)
Property Value¶
Subject¶
Gets/sets the subject property of the document (core property)
Property Value¶
Title¶
Gets/sets the title property of the document (core property)
Property Value¶
Methods¶
GetCustomPropertyValue(string)¶
Gets the value of a custom property
Parameters¶
propertyName string
The name of the property
Returns¶
The current value of the property
GetExtendedPropertyValue(string)¶
Get the value of an extended property
Parameters¶
propertyName string
The name of the property
Returns¶
The value
SetCustomPropertyValue(string, object)¶
Allows you to set the value of a current custom property or create your own custom property.
Parameters¶
propertyName string
The name of the property
value object
The value of the property
SetExtendedPropertyValue(string, string)¶
Set the value for an extended property
Parameters¶
propertyName string
The name of the property
value string
The value