Click or drag to resize

CGUIiCoordSysWizard Method (IWin32Window, CIPJ, Int32, Int32, String, String)

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 iCoordSysWizard(
	IWin32Window owner,
	CIPJ ipj,
	int editable,
	int mode,
	string source_label,
	string source
)

public static int iCoordSysWizard(
	IWin32Window owner,
	CIPJ ipj,
	int editable,
	int mode,
	string source_label,
	string source
)

Parameters

owner
Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of.
ipj
Type: GeoEngine.Core.GXNetCIPJ
IPJ object
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

Return Value

Type: Int32
0 - Ok 1 - Cancel
Remarks
Launches the new GX.Net single-dialog coordinate system definition dialog. The input IPJ is modified on return if OK is selected (and the editable parameter is 1). The "Data source label" and "Data source" is information displayed in the dialog for the user to know where the IPJ came from (e.g. "Grid: X.grd")
See Also