
## Document.attachedTemplate property

Gets or sets the full path of the template attached to the document.


```js
get attachedTemplate(): string
```

### Exceptions

| exception | condition |
| --- | --- |
| RuntimeError (Proxy error(ArgumentNullException)) | Throws if you attempt to set to a ``null`` value. |

### Remarks

Empty string means the document is attached to the Normal template.




### See Also

* module [Aspose.Words](../../)
* class [Document](../)
* property [BuiltInDocumentProperties.template](../../../aspose.words.properties/builtindocumentproperties/template/)

