title: Applying style to div having a class name iTextSharp
body: <p>i have defined my html string as:</p>
  
  <pre><code>            string html = @"
                  &lt;html&gt;&lt;body&gt;    
                      &lt;div class='class1'&gt;My Text&lt;/div&gt;    
                      &lt;/body&gt;&lt;/html&gt;   
                      ";
  </code></pre>
  
  <p>To apply style, I am doing this</p>
  
  <pre><code>StyleSheet style = new StyleSheet();
  
              style.LoadTagStyle("class1", HtmlTags.FACE , "PATH" + "CustomFont.ttf");
  </code></pre>
  
  <p>This does not work. However, using this applies the font:</p>
  
  <pre><code>       style.LoadTagStyle(HtmlTags.DIV, HtmlTags.FACE , "PATH"+"CustomFont.ttf");
  </code></pre>
  
  <p>How to specify style to a particular class? I am generating pdf using iTextSharp dll.</p>