
## LowCodeHtmlSaveOptions class

Options for saving html in low code way.

```javascript
class LowCodeHtmlSaveOptions extends LowCodeSaveOptions;
```


## Constructors

| Name | Description |
| --- | --- |
| [constructor(LowCodeSaveOptions)](#constructor-lowcodesaveoptions-)| Constructs from a parent object convertible to this. |
| [constructor()](#constructor--)| Default Constructor. |

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [htmlOptions](#htmlOptions--)| HtmlSaveOptions | The general options for saving html. |
| [outputFile](#outputFile--)| string | Gets and sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, [OutputStream](../outputstream/) will be ignored. |
| [outputStream](#outputStream--)| Uint8Array | Gets and sets the Stream for writing the generated data to. When setting this property with value other than null, [OutputFile](../outputfile/) will be ignored. |

## Methods

| Method | Description |
| --- | --- |
| [getSaveFormat()](#getSaveFormat--)| Gets and sets the format of spreadsheet. |
| [setSaveFormat(SaveFormat)](#setSaveFormat-saveformat-)| Gets and sets the format of spreadsheet. |


### constructor(LowCodeSaveOptions) {#constructor-lowcodesaveoptions-}

Constructs from a parent object convertible to this.

```javascript
constructor(obj: LowCodeSaveOptions);
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| obj | LowCodeSaveOptions | The parent object. |

### constructor() {#constructor--}

Default Constructor.

```javascript
constructor();
```


### htmlOptions {#htmlOptions--}

The general options for saving html.

```javascript
htmlOptions : HtmlSaveOptions;
```


**Remarks**

When one [HtmlSaveOptions](../htmlsaveoptions/) instance is specified, the [SaveFormat](../saveformat/) will be overwritten(if it had been specified before).

### outputFile {#outputFile--}

Gets and sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, [OutputStream](../outputstream/) will be ignored.

```javascript
outputFile : string;
```


### outputStream {#outputStream--}

Gets and sets the Stream for writing the generated data to. When setting this property with value other than null, [OutputFile](../outputfile/) will be ignored.

```javascript
outputStream : Uint8Array;
```


### getSaveFormat() {#getSaveFormat--}

Gets and sets the format of spreadsheet.

```javascript
getSaveFormat() : SaveFormat;
```


**Returns**

[SaveFormat](../saveformat/)

**Remarks**

When changing this property, the save format specified by [HtmlOptions](../htmloptions/) will be ignored(if it had been specified before).

### setSaveFormat(SaveFormat) {#setSaveFormat-saveformat-}

Gets and sets the format of spreadsheet.

```javascript
setSaveFormat(value: SaveFormat) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [SaveFormat](../saveformat/) | The value to set. |

**Remarks**

When changing this property, the save format specified by [HtmlOptions](../htmloptions/) will be ignored(if it had been specified before).


