Point Example - C# - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000

The following shows a C# example that returns a Point object.


public static Point buildPoint()
{
    Point point = new Point();
    point.srsName = "EPSG:4326";
    Pos pos = new Pos();
    pos.X = -76.5;
    pos.Y = 46.5;
    point.Pos = pos;
    return point;
}