This topic has not yet been rated - Rate this topic

Styles.Add Method

Returns a Style object that represents a new user-defined style added to the list of styles.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Style Add(
	string Name,
	ref Object Type
)

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.