SetDefaultStylesAsync Method
In This Topic
Sets the default css style for the document asynchronously.
Syntax
'Declaration
Public Function SetDefaultStylesAsync( _
ByVal As System.String, _
Optional ByVal As System.Boolean _
) As System.Threading.Tasks.Task
public System.Threading.Tasks.Task SetDefaultStylesAsync(
System.string ,
System.bool
)
Parameters
- styleSettings
-
A string containing css style definitions for the document.
- onlyIfNotPresent
-
If true, the default style is only set if one does not exist.
See Also