How to get the location of a vertex?

Jun 21, 2013 at 11:24 PM
        private void nodeXLControl1_VerticesMoved(object sender, VerticesMovedEventArgs e)
        {
            IVertex[] v = (IVertex[])e.MovedVertices;
            string currentVertexName = v[0].Name.ToString();

How to get the location? X? Y?

}
Jun 22, 2013 at 12:53 AM
            dynamic veterx = v[0];
            double XCoordinate = veterx.Location.X;
            double YCoordinate = veterx.Location.Y;
Another question - how to set a location of a vertex?

Tnx.
Jun 22, 2013 at 6:43 PM
It looks like you answered the first question yourself. (But don't use "dynamic" for the vertex type; use "IVertex" instead.)

I've answered the second question at http://nodexl.codeplex.com/discussions/445833.

-- Tony