Exemplo n.º 1
0
 public EngineBuilder EnableCss(Action <DocumentStylesConfiguration> configure)
 {
     _stylesConfig = new DocumentStylesConfiguration();
     configure?.Invoke(_stylesConfig);
     return(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Enables computed styles evaluation. Styles evaluation is disabled by default.
 /// </summary>
 public EngineBuilder EnableCss()
 {
     _stylesConfig = new DocumentStylesConfiguration();
     return(this);
 }