 | CEMAPStartShading Method (String, String, Double, Double, Double, Double, Double, Int32, IDisposable) |
Returns the fast-shadow SHD object and the current shading parameters
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic CSHD StartShading(
ref string primary_grid_path,
ref string shading_grid_path,
ref double inclination,
ref double declination,
ref double scale,
ref double contrast,
ref double brightness,
ref int wet_look,
IDisposable disposable
)
public CSHD StartShading(
ref string primary_grid_path,
ref string shading_grid_path,
ref double inclination,
ref double declination,
ref double scale,
ref double contrast,
ref double brightness,
ref int wet_look,
IDisposable disposable
)
Public Function StartShading (
ByRef primary_grid_path As String,
ByRef shading_grid_path As String,
ByRef inclination As Double,
ByRef declination As Double,
ByRef scale As Double,
ByRef contrast As Double,
ByRef brightness As Double,
ByRef wet_look As Integer,
disposable As IDisposable
) As CSHD
Public Function StartShading (
ByRef primary_grid_path As String,
ByRef shading_grid_path As String,
ByRef inclination As Double,
ByRef declination As Double,
ByRef scale As Double,
ByRef contrast As Double,
ByRef brightness As Double,
ByRef wet_look As Integer,
disposable As IDisposable
) As CSHD
public:
CSHD^ StartShading(
String^% primary_grid_path,
String^% shading_grid_path,
double% inclination,
double% declination,
double% scale,
double% contrast,
double% brightness,
int% wet_look,
IDisposable^ disposable
)
public:
CSHD^ StartShading(
String^% primary_grid_path,
String^% shading_grid_path,
double% inclination,
double% declination,
double% scale,
double% contrast,
double% brightness,
int% wet_look,
IDisposable^ disposable
)
member StartShading :
primary_grid_path : string byref *
shading_grid_path : string byref *
inclination : float byref *
declination : float byref *
scale : float byref *
contrast : float byref *
brightness : float byref *
wet_look : int byref *
disposable : IDisposable -> CSHD
member StartShading :
primary_grid_path : string byref *
shading_grid_path : string byref *
inclination : float byref *
declination : float byref *
scale : float byref *
contrast : float byref *
brightness : float byref *
wet_look : int byref *
disposable : IDisposable -> CSHD
Parameters
- primary_grid_path
- Type: SystemString
Grid path returned - shading_grid_path
- Type: SystemString
Shading grid path returned (normally the same as the primary grid path, but can be different) - inclination
- Type: SystemDouble
Inclination (degrees) - declination
- Type: SystemDouble
Declination (degrees) - scale
- Type: SystemDouble
Scale factor - contrast
- Type: SystemDouble
Contrast - brightness
- Type: SystemDouble
Brightness - wet_look
- Type: SystemInt32
Wet-look effect set (shading layer uses lighter distribution) - disposable
- Type: SystemIDisposable
Disposable to dispose when fast-shadow mode is ended internally (e.g. closing document)
Return Value
Type:
CSHDReturns a SHD object if there is a shading layer, otherwise terminates
See Also