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

Available since Oasis montaj version: 9.0.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.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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(
	CIPJ oIPJ1,
	CIPJ oIPJ2,
	int i3,
	int i4,
	string str5,
	string str6,
	int i7,
	int i8,
	ref double d9,
	ref double d10,
	ref double d11,
	ref double d12,
	ref double d13
)

Parameters

oIPJ1
Type: GeoEngine.Core.GXNetCIPJ
original grid IPJ object
oIPJ2
Type: GeoEngine.Core.GXNetCIPJ
source (target) grid IPJ object. This is supplied so the modified orientation can be calculated and displayed.
i3
Type: SystemInt32
Editable IPJ (0:No, 1:Yes)
i4
Type: SystemInt32
See COORDSYS_MODEConstant
str5
Type: SystemString
Data source label
str6
Type: SystemString
Data source
i7
Type: SystemInt32
Number of cells in X
i8
Type: SystemInt32
Number of cells in Y
d9
Type: SystemDouble
Grid orgin X (grid's own coordinate system)
d10
Type: SystemDouble
Grid orgin Y (grid's own coordinate system)
d11
Type: SystemDouble
Grid cell size X
d12
Type: SystemDouble
Grid cell size Y
d13
Type: SystemDouble
Grid rotation angle (degrees CCW)

Return Value

Type: Int32
0 - Ok 1 - Cancel
See Also