Styles.Add Method
Office 2010
Returns a Style object that represents a new user-defined style added to the list of styles.
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Parameters
- Name
- Type: System.String
Required String. The string name for the new style.
- Type
- Type: System.Object%
Optional Object. The style type of the new style. Can be one of the following WdStyleType constants: wdStyleTypeParagraph, wdStyleTypeCharacter, wdStyleTypeList, or wdStyleTypeTable.