
## joinRunsWithSameFormatting() {#default}

Joins runs with the same formatting in the paragraph.


```js
joinRunsWithSameFormatting()
```

### Returns

Number of joins performed. When **N** adjacent runs are being joined they count as **N - 1** joins.


## joinRunsWithSameFormatting(options) {#joinrunsoptions}

Joins runs with the same formatting in the paragraph.


```js
joinRunsWithSameFormatting(options: Aspose.Words.JoinRunsOptions)
```

| Parameter | Type | Description |
| --- | --- | --- |
| options | [JoinRunsOptions](../../joinrunsoptions/) | Additional options |

### Returns

Number of joins performed. When **N** adjacent runs are being joined they count as **N - 1** joins.


## See Also

* module [Aspose.Words](../../)
* class [Paragraph](../)

