Click or drag to resize

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
Syntax
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 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
)

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: CSHD
Returns a SHD object if there is a shading layer, otherwise terminates
See Also