/// <summary> /// It gets all element attributes. /// </summary> /// <param name="attributeType">Attribute type array.</param> /// <param name="attributeName">Attribute name array.</param> /// <param name="attributeValue">Attribute value array.</param> public void FillAttributeList(ArrayList attributeType, ArrayList attributeName, ArrayList attributeValue) { IComparer myComparer = new CEleComparer(); attributes.Sort(myComparer); foreach (var attr in attributes.Cast <SvgAttribute>()) { attributeType.Add(attr.AttributeType); attributeName.Add(attr.Name); attributeValue.Add(attr.Value); } }
/// <summary> /// It gets all element attributes. /// </summary> /// <param name="aType">Attribute type array.</param> /// <param name="aName">Attribute name array.</param> /// <param name="aValue">Attribute value array.</param> public void FillAttributeList(ArrayList aType, ArrayList aName, ArrayList aValue) { IComparer myComparer = new CEleComparer(); m_attributes.Sort(myComparer); for (int i = 0; i < m_attributes.Count; i++) { SvgAttribute attr = (SvgAttribute)m_attributes[i]; aType.Add(attr.AttributeType); aName.Add(attr.Name); aValue.Add(attr.Value); } }
/// <summary> /// It gets all element attributes. /// </summary> /// <param name="attributeType">Attribute type array.</param> /// <param name="attributeName">Attribute name array.</param> /// <param name="attributeValue">Attribute value array.</param> public void FillAttributeList(ArrayList attributeType, ArrayList attributeName, ArrayList attributeValue) { IComparer myComparer = new CEleComparer(); attributes.Sort(myComparer); foreach (var attr in attributes.Cast<SvgAttribute>()) { attributeType.Add(attr.AttributeType); attributeName.Add(attr.Name); attributeValue.Add(attr.Value); } }