Paragraph
ApplyStyle Method (String)
|
Applies the specified style.
Namespace:
Spire.Doc.Documents
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public void ApplyStyle(
string styleName
)
Public Sub ApplyStyle (
styleName As String
)
public:
virtual void ApplyStyle(
String^ styleName
) sealed
abstract ApplyStyle :
styleName : string -> unit
override ApplyStyle :
styleName : string -> unit
Parameters
-
styleName
-
Type:
System
String
Style name
Implements
IStyleHolder
ApplyStyle(String)
Remarks
Specified style must exist in Document.Styles collection
See Also