Click or drag to resize

CEMAP.StartShading Method (String, Int32, String, Int32, Double, Double, Double, Double, Double, Int32, IDisposable)

Returns the fast-shadow SHD object and the current shading parameters

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public CSHD StartShading(
	ref string primary_grid_path,
	int primary_grid_path_size,
	ref string shading_grid_path,
	int shading_grid_path_size,
	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,
	int primary_grid_path_size,
	ref string shading_grid_path,
	int shading_grid_path_size,
	ref double inclination,
	ref double declination,
	ref double scale,
	ref double contrast,
	ref double brightness,
	ref int wet_look,
	IDisposable disposable
)

Parameters

primary_grid_path
Type: System.String
Grid path returned
primary_grid_path_size
Type: System.Int32
Size of the primary grid path
shading_grid_path
Type: System.String
Shading grid path returned (normally the same as the primary grid path, but can be different)
shading_grid_path_size
Type: System.Int32
Size of the shading grid path
inclination
Type: System.Double
Inclination (degrees)
declination
Type: System.Double
Declination (degrees)
scale
Type: System.Double
Scale factor
contrast
Type: System.Double
Contrast
brightness
Type: System.Double
Brightness
wet_look
Type: System.Int32
Wet-look effect set (shading layer uses lighter distribution)
disposable
Type: System.IDisposable
Disposable to dispose when fast-shadow mode is ended internally (e.g. closing document)

Return Value

Type: CSHD
Returns a SHD object if there is a shading layer, otherwise terminates
See Also