ApplyStyle() 공개 메소드

public ApplyStyle ( String tag, Hashtable props ) : void
tag String
props System.Collections.Hashtable
리턴 void
예제 #1
0
        public virtual void StartDocument()
        {
            Hashtable h = new Hashtable();

            style.ApplyStyle("body", h);
            cprops.AddToChain("body", h);
        }
예제 #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);
        }