Introducedin | ||||
---|---|---|---|---|
|
Description |
---|
Excerpt |
---|
Sets the value of the specified property. |
Signature | ||||
---|---|---|---|---|
| ||||
public void SetDocumentProperty(BuiltInProperty property, System.Object propertyValue)
|
Signature | ||||
---|---|---|---|---|
| ||||
Public Sub SetDocumentProperty(ByVal [property] As BuiltInProperty, ByVal propertyValue As Object)
|
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
A DocumentProperties.BuiltInProperty object that represents the built-in property to set. |
Param | ||||
---|---|---|---|---|
| ||||
An |
Exceptions |
---|
Exception | ||||
---|---|---|---|---|
| ||||
|
Remarks | |||||||||
---|---|---|---|---|---|---|---|---|---|
This feature is available in OOXML files (DOCX/DOCM) only. Setting the value to null will clear any existing values. This is the MS Word equivalent of File menu > Info > Show All Properties:
!DocumentPropertiesPanel.png|thumbnail, border=1!
|
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|