Click or drag to resize

CSTKIGetGridParms Method (Int32, Double, Double, Double, Double, Double, Double, Double, Double, String, Int32)

Get background grid parameters in STK object

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void IGetGridParms(
	ref int grid,
	ref double min_x,
	ref double max_x,
	ref double min_y,
	ref double max_y,
	ref double thick,
	ref double cross,
	ref double x_sep,
	ref double y_sep,
	ref string color,
	int grid12
)

public void IGetGridParms(
	ref int grid,
	ref double min_x,
	ref double max_x,
	ref double min_y,
	ref double max_y,
	ref double thick,
	ref double cross,
	ref double x_sep,
	ref double y_sep,
	ref string color,
	int grid12
)

Parameters

grid
Type: SystemInt32
Type of grid to draw:
min_x
Type: SystemDouble
Minimum X in ground unit to draw grid
max_x
Type: SystemDouble
Maximum X in ground unit to draw grid
min_y
Type: SystemDouble
Minimum Y in ground unit to draw grid
max_y
Type: SystemDouble
Maximum Y in ground unit to draw grid
thick
Type: SystemDouble
Line thickness in mm. Default is 0.01mm
cross
Type: SystemDouble
Cross size or separation between dots in mm.
x_sep
Type: SystemDouble
Separation between vertical grid lines.
y_sep
Type: SystemDouble
Separation between horizontal grid lines.
color
Type: SystemString
Grid line color string in RGB model. Default is black
grid12
Type: SystemInt32
<define>STK_GRID</define>
Remarks
See MSTK for detailed description of all function parameters ? mark in the note represent either X and Y
See Also