Adds new list style to document.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public ListStyle AddListStyle(
	ListType listType,
	string styleName
)
Public Function AddListStyle ( 
	listType As ListType,
	styleName As String
) As ListStyle
public:
virtual ListStyle^ AddListStyle(
	ListType listType, 
	String^ styleName
) sealed
abstract AddListStyle : 
        listType : ListType * 
        styleName : string -> ListStyle 
override AddListStyle : 
        listType : ListType * 
        styleName : string -> ListStyle 

Parameters

listType
ListType
List type
styleName
String
Paragraph style name

Return Value

ListStyle

Implements

IDocument..::..AddListStyle(ListType, String)

See Also