ApplyStyle() public method

public ApplyStyle ( String tag, Hashtable props ) : void
tag String
props System.Collections.Hashtable
return void
Ejemplo n.º 1
0
        public virtual void StartDocument()
        {
            Hashtable h = new Hashtable();

            style.ApplyStyle("body", h);
            cprops.AddToChain("body", h);
        }
Ejemplo n.º 2
0
        /**
         * @see com.itextpdf.text.xml.simpleparser.SimpleXMLDocHandler#startDocument()
         */
        public virtual void StartDocument()
        {
            Dictionary <String, String> attrs = new Dictionary <String, String>();

            style.ApplyStyle(HtmlTags.BODY, attrs);
            chain.AddToChain(HtmlTags.BODY, attrs);
        }