Pointer Coordinate

Originally Posted 7 March 2017, 12:29 pm EST

  • Originally Posted 7 March 2017, 12:29 pm EST

    Hi Guys,

    In your help I've found for C1RadialGauge very very useful methods: ValueToPoint and PointToValue, but unfortunately they are used only for Windows Phone. So the question are there the same functions for winforms? Or how can I get the screen coordinates of pointer(not only the center of pointer: c1RadialGauge1.PointerOriginXCoordinate, c1RadialGauge1.PointerOriginYCoordinate)?

    Thanks a lot!
  • Marked as Answer


    Hi olkasu,

    You can take a look at the C1GaugePointer.GetValueAt method. For example:

    private void c1RadialGauge1_ItemMouseMove(object sender, ItemMouseEventArgs e)
    if (e.Button == MouseButtons.Left)
    C1GaugePointer p = e.Gauge.Pointer;
    p.Value = p.GetValueAt(e.X, e.Y);

    There is no analog to the ValueToPoint method, sorry.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels