[]
        
(Showing Draft Content)

C1.Win.Editor.C1Editor.SetDefaultStyles

SetDefaultStyles Method

SetDefaultStyles(string, bool)

Sets the default css style for the document.

Declaration
[Obsolete("This method is deprecated, please, use SetDefaultStylesAsync instead.")]
public void SetDefaultStyles(string styleSettings, bool onlyIfNotPresent = false)
Parameters
Type Name Description
string styleSettings

A string containing css style definitions for the document.

bool onlyIfNotPresent

If true, the default style is only set if one does not exist.