[]
        
(Showing Draft Content)

C1.Win.Editor.C1Editor.SetDefaultStylesAsync

SetDefaultStylesAsync Method

SetDefaultStylesAsync(string, bool)

Sets the default css style for the document asynchronously.

Declaration
public Task SetDefaultStylesAsync(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.

Returns
Type Description
Task