AgGateway.ADAPT.ISOv4Plugin.Writers.ShapeWriter.WritePoint C# (CSharp) Method

WritePoint() private static method

private static WritePoint ( XmlWriter writer, AgGateway.ADAPT.ApplicationDataModel.Shapes.Point point, string label ) : void
writer System.Xml.XmlWriter
point AgGateway.ADAPT.ApplicationDataModel.Shapes.Point
label string
return void
        private static void WritePoint(XmlWriter writer, Point point, string label)
        {
            writer.WriteStartElement("PNT");
            writer.WriteXmlAttribute("A", "2");
            writer.WriteXmlAttribute("B", label);
            writer.WriteXmlAttribute("C", point.Y.ToString(CultureInfo.InvariantCulture)); // Latitude
            writer.WriteXmlAttribute("D", point.X.ToString(CultureInfo.InvariantCulture)); // Longitude

            writer.WriteEndElement();
        }