Click or drag to resize
CGUIiCoordSysWizardGrid Method
Launch the coordinate system definition/display GUI.

Available since Oasis montaj version: 9.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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.
Syntax
public static int iCoordSysWizardGrid(
	CGXNETCore gxNetShared,
	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

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

Return Value

Type: Int32
0 - Ok 1 - Cancel
See Also