# WordCreateOptions

Controls creation and persistence of a Word document.

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[WordLifecycleOptions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Word/WordLifecycleOptions.cs#L23)

**Base**

`DocumentCreateOptions`

**Modifiers**

sealed

Controls creation and persistence of a Word document.

## Inheritance

- DocumentCreateOptions
- WordCreateOptions

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [WordDocument.Create](/api/word/officeimo-word-worddocument/#method-create-officeimo-word-wordcreateoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public WordCreateOptions()` [#](#constructor-ctor)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public WordDocumentType DocumentType { get; set; }` [#](#property-documenttype)

[WordLifecycleOptions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Word/WordLifecycleOptions.cs#L23)

Controls the Open XML package type when no destination extension is available.

`public OfficeTheme? Theme { get; set; }` [#](#property-theme)

[WordLifecycleOptions.Unified.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Word/WordLifecycleOptions.Unified.cs#L7)

Theme for a new document. Null retains native blank-document defaults or an existing template.

`public string? Template { get; set; }` [#](#property-template)

[WordLifecycleOptions.Unified.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Word/WordLifecycleOptions.Unified.cs#L10)

Optional Word template copied into the new document.

## Inherited Properties

`public DocumentPersistenceMode PersistenceMode { get; set; }` [#](#property-persistencemode)

Inherited from DocumentCreateOptions

<!-- PowerForge markdown artifact sha256:D44AB859407432E02A0EE65F4AE5DA4F258137A900F0C319D7E5A521DE69CCFB -->
