The OrthoSliceOrientation option changes the orientation of the OrthoImage. The OptionValue is set to 0, 1, or 2. 0 sets the orientation to XY Plane (Axial). 1 sets the orientation to XZ Plane (Coronal). 2 sets the orientation to YZ Plane (Sagittal).
Syntax
object.Construct(“CreateModule”)
object.Option(“SourceModule”, “data file name”)
object.Option(“Type”, “OrthoImage”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “OrthoImage”)
object.Option(“OrthoSliceOrientation”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the OrthoImage orientation to the YZ Plane.
CommandApi.Construct("ModifyModule")
CommandApi.Option("Module","OrthoImage")
CommandApi.Option("OrthoSliceOrientation", "2")
CommandApi.Do()
Used by: OrthoSlice module
See Also