# Set Position Handle Widget In C#

**URL:** https://discourse.vtk.org/t/set-position-handle-widget-in-c/11405
**Category:** Support
**Tags:** doxygen, jobs, training, code, file-formats
**Created:** [May 8, 2023, 9:32am UTC](https://discourse.vtk.org/t/set-position-handle-widget-in-c/11405 "2023-05-08T09:32:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![m.h.shanazary](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/aeb1de/32.png) [@m.h.shanazary](https://discourse.vtk.org/u/m.h.shanazary)
#### Post date: [May 8, 2023, 9:32am UTC](https://discourse.vtk.org/t/set-position-handle-widget-in-c/11405/1 "2023-05-08T09:32:28Z")

</div>

Hi

how Can Set Position Point Handle Widget In C#  
Set Position Point Get IntPtr And I Do not Know How Can Set That

Thanks For Helping You

---

<div class="post-metadata">

### Author: ![LucasGandel](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lucasgandel/32/1831_2.png) [@LucasGandel](https://discourse.vtk.org/u/LucasGandel)
#### Post date: [May 9, 2023, 6:13am UTC](https://discourse.vtk.org/t/set-position-handle-widget-in-c/11405/2 "2023-05-09T06:13:12Z")

</div>

Hello,

Please have a look at this answer: [arrays - Marshall double[] to IntPtr in C#? - Stack Overflow](https://stackoverflow.com/a/18967040)

Hth,  
Lucas

---

<div class="post-metadata">

### Author: ![m.h.shanazary](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/aeb1de/32.png) [@m.h.shanazary](https://discourse.vtk.org/u/m.h.shanazary)
#### Post date: [May 9, 2023, 6:56am UTC](https://discourse.vtk.org/t/set-position-handle-widget-in-c/11405/3 "2023-05-09T06:56:49Z")

</div>

Thanks for the advice

Lucas Gandel

---

<div class="post-metadata">

### Author: ![m.h.shanazary](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/aeb1de/32.png) [@m.h.shanazary](https://discourse.vtk.org/u/m.h.shanazary)
#### Post date: [May 17, 2023, 11:49am UTC](https://discourse.vtk.org/t/set-position-handle-widget-in-c/11405/4 "2023-05-17T11:49:28Z")

</div>

Hello

If possible, please help me reverse it  
How to send the IntPtr to the Method and convert the received value to double[]

---

<div class="post-metadata">

### Author: ![LucasGandel](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lucasgandel/32/1831_2.png) [@LucasGandel](https://discourse.vtk.org/u/LucasGandel)
#### Post date: [May 17, 2023, 3:59pm UTC](https://discourse.vtk.org/t/set-position-handle-widget-in-c/11405/5 "2023-05-17T15:59:10Z")

</div>

Someone also asked it here: [c# - Reverse way to get double array values from IntPtr - Stack Overflow](https://stackoverflow.com/a/20938796)

googling “intptr to double[]” and “double[] to intptr” should bring you there in a few clicks
