Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / SetDefaultStyles 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
    SetDefaultStyles Method
    In This Topic
    Sets the default css style for the document.
    Syntax
    'Declaration
     
    Public Sub SetDefaultStyles( _
       ByVal styleSettings As System.String, _
       Optional ByVal onlyIfNotPresent As System.Boolean _
    ) 
    public void SetDefaultStyles( 
       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