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); }
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); }
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); }
public virtual void WriteXml(System.Xml.XmlWriter writer) { writer.WriteElementColor("BaseColor", BaseColor); writer.WriteElementColor("StripeColor", StripeColor); }