| 
StyleCollection
FindByName Method (String, StyleType)
  | 
 Finds Style by name
 Namespace:
 Spire.Doc.Collections
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public IStyle FindByName(
	string name,
	StyleType styleType
)
 
Public Function FindByName ( 
	name As String,
	styleType As StyleType
) As IStyle
 
public:
virtual IStyle^ FindByName(
	String^ name, 
	StyleType styleType
) sealed
 
abstract FindByName : 
name : string * 
styleType : StyleType -> IStyle 
override FindByName : 
name : string * 
styleType : StyleType -> IStyle 
 
 
 
Parameters
 
- 
name
 
- 
 Type:
 
System
String
 
 The name.
- 
styleType
 
- 
 Type:
 
Spire.Doc.Documents
StyleType
 
 Type of the style.
Return Value
 
 Type:
 
IStyle
 
Implements
 
IStyleCollection
FindByName(String, StyleType)
 
 
 See Also
See Also