SharpVectors.Dom.Svg.SvgImageElement.HandleAttributeChange C# (CSharp) Méthode

HandleAttributeChange() public méthode

public HandleAttributeChange ( XmlAttribute attribute ) : void
attribute System.Xml.XmlAttribute
Résultat void
        public override void HandleAttributeChange(XmlAttribute attribute)
        {
            if(attribute.NamespaceURI.Length == 0)
              {
            // This list may be too long to be useful...
            switch(attribute.LocalName)
            {
            // Additional attributes
              case "x":
            x = null;
            return;
              case "y":
            y = null;
            return;
              case "width":
            width = null;
            return;
              case "height":
            height = null;
            return;
            }

            base.HandleAttributeChange(attribute);
              }
        }