# How to use property UseImageActor of ResliceCursorRepresentation class

**URL:** https://discourse.vtk.org/t/how-to-use-property-useimageactor-of-reslicecursorrepresentation-class/12048
**Category:** Development
**Created:** [July 28, 2023, 1:12am UTC](https://discourse.vtk.org/t/how-to-use-property-useimageactor-of-reslicecursorrepresentation-class/12048 "2023-07-28T01:12:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![quantiehan](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/q/e95f7d/32.png) [@quantiehan](https://discourse.vtk.org/u/quantiehan)
#### Post date: [July 28, 2023, 1:12am UTC](https://discourse.vtk.org/t/how-to-use-property-useimageactor-of-reslicecursorrepresentation-class/12048/1 "2023-07-28T01:12:30Z")

</div>

The default value of UseImageActor is zero. If set to 1, the image will not be displayed. Why I try it, The reason is that the same window width and window level result in a significant difference in grayscale display between vtkImageViewer2 and vtkResliceCursorWidget
