ObliqueSliceOpacity Option

 

The ObliqueSliceOpacity option changes the opacity of the ObliqueImage. 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”, “ObliqueImage”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “ObliqueImage”)

object.Option(“ObliqueSliceOpacity”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the ObliqueImage opacity to 0.4.

 

  CommandApi.Construct("ModifyModule")

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

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

  CommandApi.Do()

 

Used by: ObliqueSlice

 

 

See Also

Automation Model