OfficeIMO

API Reference

Class

WordCoverPageProperties

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word

Manages the cover page properties custom XML part used by Word's built-in cover page templates (store item ID: {55AF091B-3C7A-41E3-B477-F2FDAA23CFDA}).

Inheritance

  • Object
  • WordCoverPageProperties

Constructors

public WordCoverPageProperties(WordDocument document) #

Initializes a new instance for the provided document.

Parameters

document OfficeIMO.Word.WordDocument requiredposition: 0
Document that owns the cover page properties.

Methods

public String Get(String name) #
Returns: String

Retrieves a cover page property value by element name.

Parameters

name System.String requiredposition: 0
Element name within the coverPageProps namespace.

Returns

The stored value when present; otherwise null.

public Void Set(String name, String value) #
Returns: Void

Sets a cover page property value by element name, creating the custom XML part when required.

Parameters

name System.String requiredposition: 0
Element name within the coverPageProps namespace.
value System.String requiredposition: 1
Value to store.

Properties

public String PublishDate { get; set; } #

Gets or sets the publish date used by cover page templates that bind to PublishDate.

public String Abstract { get; set; } #

Gets or sets the abstract used by cover page templates that bind to Abstract.

public String CompanyAddress { get; set; } #

Gets or sets the company address used by cover page templates that bind to CompanyAddress.

public String CompanyEmail { get; set; } #

Gets or sets the company email used by cover page templates that bind to CompanyEmail.