## add(type, name) {#styletype_string} Creates a new user defined style and adds it the collection. ```js add(type: Aspose.Words.StyleType, name: string) ``` | Parameter | Type | Description | | --......paragraph or a list style. When creating a list style, the style...created with default numbered list formatting (1 \\ a \\ i). Throws...