Exemple #1
0
 public virtual void WriteXml(System.Xml.XmlWriter writer)
 {
     writer.WriteElementColor("TorsoColor", TorsoColor);
     writer.WriteElementColor("PadsColor", PadsColor);
     writer.WriteElementColor("TextColor", TextColor);
     writer.WriteElementColor("LegPrimaryColor", LegPrimaryColor);
     writer.WriteElementColor("LegStripeColor", LegStripeColor);
 }
Exemple #2
0
        public override void WriteXml(System.Xml.XmlWriter writer)
        {
            base.WriteXml(writer);

            writer.WriteAttributeDouble("X", Coordinates.X);
            writer.WriteAttributeDouble("Y", Coordinates.Y);

            // 11-12-2010 Scott
            writer.WriteAttributeString("FontFamily", FontFamily);
            writer.WriteAttributeDouble("FontSize", FontSize);
            writer.WriteAttributeDouble("BorderWidth", BorderWidth);
            writer.WriteElementColor("TextColor", TextColor);
            if (!(FillColor == Colors.Transparent))
            {
                writer.WriteElementColor("FillColor", FillColor);
            }
            writer.WriteElementColor("BorderColor", BorderColor);
        }
Exemple #3
0
        public override void WriteXml(System.Xml.XmlWriter writer)
        {
            //base.WriteXml(writer);

            writer.WriteAttributeDouble("X", Coordinates.X);
            writer.WriteAttributeDouble("Y", Coordinates.Y);
            writer.WriteAttributeDouble("Width", Width);
            writer.WriteAttributeDouble("Height", Height);
            writer.WriteAttributeDouble("Transparency", Transparency);
            writer.WriteElementColor("FillColor", FillColor);
        }
Exemple #4
0
 public virtual void WriteXml(System.Xml.XmlWriter writer)
 {
     writer.WriteElementColor("BaseColor", BaseColor);
     writer.WriteElementColor("StripeColor", StripeColor);
 }