Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / SetDefaultStylesAsync Method
A string containing css style definitions for the document.
If true, the default style is only set if one does not exist.

In This Topic
    SetDefaultStylesAsync Method
    In This Topic
    Sets the default css style for the document asynchronously.
    Syntax
    'Declaration
     
    Public Function SetDefaultStylesAsync( _
       ByVal styleSettings As System.String, _
       Optional ByVal onlyIfNotPresent As System.Boolean _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task SetDefaultStylesAsync( 
       System.string styleSettings,
       System.bool onlyIfNotPresent
    )

    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