GetHtml() public method

public GetHtml ( StringBuilder stbuilder ) : void
stbuilder StringBuilder
return void
Ejemplo n.º 1
0
 /// <summary>
 /// Get html from the current DOM tree with inline style.
 /// </summary>
 /// <returns>generated html</returns>
 public string GetHtml()
 {
     if (htmlContainer == null)
     {
         return(null);
     }
     else
     {
         System.Text.StringBuilder stbuilder = new System.Text.StringBuilder();
         htmlContainer.GetHtml(stbuilder);
         return(stbuilder.ToString());
     }
 }