Click or drag to resize

CGUI.iCoordSysWizardGrid Method

Launch the coordinate system definition/display GUI.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int iCoordSysWizardGrid(
	CIPJ ipj,
	CIPJ target_ipj,
	int editable,
	int mode,
	string source_label,
	string source,
	int nx,
	int ny,
	ref double x0,
	ref double y0,
	ref double dx,
	ref double dy,
	ref double rot
)

public static int iCoordSysWizardGrid(
	CIPJ ipj,
	CIPJ target_ipj,
	int editable,
	int mode,
	string source_label,
	string source,
	int nx,
	int ny,
	ref double x0,
	ref double y0,
	ref double dx,
	ref double dy,
	ref double rot
)

Parameters

ipj
Type: GeoEngine.Core.GXNet.CIPJ
Original grid IPJ object
target_ipj
Type: GeoEngine.Core.GXNet.CIPJ
Source (target) grid IPJ object. This is supplied so the modified orientation can be calculated and displayed.
editable
Type: System.Int32
Editable IPJ (0:No, 1:Yes)
mode
Type: System.Int32
<define>COORDSYS_MODE</define>
source_label
Type: System.String
Data source label
source
Type: System.String
Data source
nx
Type: System.Int32
Number of cells in X
ny
Type: System.Int32
Number of cells in Y
x0
Type: System.Double
Grid orgin X (grid's own coordinate system)
y0
Type: System.Double
Grid orgin Y (grid's own coordinate system)
dx
Type: System.Double
Grid cell size X
dy
Type: System.Double
Grid cell size Y
rot
Type: System.Double
Grid rotation angle (degrees CCW)

Return Value

Type: Int32
0 - Ok 1 - Cancel
Remarks
Same as iCoordSysWizardLicensed_GUI but allows the original grid info to be adjusted when projections on section or oriented plan grids are modified. In the tool, it is the "modified" orientation required to keep the edited projection's grid in the same location as it was in the target projection.
See Also