iTextSharp.text.xml.ITextHandler.StartElement C# (CSharp) Method

StartElement() public method

This method gets called when a start tag is encountered.
public StartElement ( String uri, String lname, String name, Hashtable attrs ) : void
uri String
lname String
name String the name of the tag that is encountered
attrs System.Collections.Hashtable the list of attributes
return void
        public override void StartElement(String uri, String lname, String name, Hashtable attrs) {
        
            Properties attributes = new Properties();
            if (attrs != null) {
                foreach (string key in attrs.Keys) {
                    attributes.Add(key, (string)attrs[key]);
                }
            }
            HandleStartingTags(name, attributes);
        }