Click or drag to resize

CSHDRefresh Method

Refresh the SHD with new shading parameters.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void Refresh(
	string grid_path,
	double inclination,
	double declination,
	double scale,
	ref double contrast,
	ref double brightness,
	int wet_look
)

public void Refresh(
	string grid_path,
	double inclination,
	double declination,
	double scale,
	ref double contrast,
	ref double brightness,
	int wet_look
)

Parameters

grid_path
Type: SystemString
Grid path returned
inclination
Type: SystemDouble
inclination (degrees)
declination
Type: SystemDouble
declination (degrees)
scale
Type: SystemDouble
vertical scale relative to base scale
contrast
Type: SystemDouble
contrast 0-1 (recommended >0.1, can change with wet_look changes)
brightness
Type: SystemDouble
brightness 0-1 (can change with wet_look changes)
wet_look
Type: SystemInt32
Apply wet-look effect (shading layer uses lighter distribution)?
See Also