
## LoadOptions() {#default}

Initializes a new instance of this class with default values.


```js
LoadOptions()
```

## LoadOptions(password) {#string}

A shortcut to initialize a new instance of this class with the specified password to load an encrypted document.


```js
LoadOptions(password: string)
```

| Parameter | Type | Description |
| --- | --- | --- |
| password | string | The password to open an encrypted document. Can be ``null`` or empty string. |

## LoadOptions(loadFormat, password, baseUri) {#loadformat_string_string}

A shortcut to initialize a new instance of this class with properties set to the specified values.


```js
LoadOptions(loadFormat: Aspose.Words.LoadFormat, password: string, baseUri: string)
```

| Parameter | Type | Description |
| --- | --- | --- |
| loadFormat | [LoadFormat](../../../aspose.words/loadformat/) | The format of the document to be loaded. |
| password | string | The password to open an encrypted document. Can be ``null`` or empty string. |
| baseUri | string | The string that will be used to resolve relative URIs to absolute. Can be ``null`` or empty string. |

## See Also

* module [Aspose.Words.Loading](../../)
* class [LoadOptions](../)

