OrthoSliceOpacity Option

 

The OrthoSliceOpacity option changes the opacity of the OrthoImage. The OptionValue is a number between 0 and 1. 0 is fully transparent and 1 is fully opaque.

 

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(“OrthoSliceOpacity”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the OrthoImage opacity to 0.4.

 

  CommandApi.Construct("ModifyModule")

  CommandApi.Option("Module","OrthoImage")

  CommandApi.Option("OrthoSliceOpacity", "0.4")

  CommandApi.Do()

 

Used by: OrthoSlice module

 

 

See Also

Automation Model