Sets the current voxel. The current voxel is shown as the center of the red cross in the SAG, COR and TRA window.
objDocument.SetCrossPosition(intX, intY, intZ)
Valid only if objDocument is of type VMR. The method is executed independen of whether the red cross is turned on (visible) or off (invisible). To update the SAG, COR and TRA window, call RefreshView after execution of this method.
' VBScript
doc.SetCrossPosition 100, 185, 120
doc.RefreshView
// JScript
doc.SetCrossPosition(100, 185, 120);
doc.RefreshView();
#
PerlScript
$doc->SetCrossPosition(100, 185, 120);
$doc->RefreshView();