Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

InstalledMost of the current development at Geosoft is done in the C# .NET environment and there are lots of examples showing how this is done. In particular the <Geosoft>\GX developer\gxnet\src\gxnet.csproj file includes the code for all of the Geosoft .Net GXs.

In order to access your routine from within montaj you will need to create a menu item with the second parameter in the form:

dllname(assemblyname.gxname;method)

for example the dap.smn menu contains the following item:

ITEM "Add Bing Maps Imagery..." ,Geosoft.EIMS.GXNet.dll(Geosoft.EIMS.GX.AddBingLayerToMap;Run) {?map}

That is, the Run method of the AddBingLayerToMap gx, which is part of the Geosoft.EIMS.GX namespace and is found in the Geosoft.EIMS.GXNet assembly.


 

C# .NET API

The C# GX.NET API is documented here: GX.NET API 8.3.0  

Installed Files

The GX Developer installation contains the following files for C# .NET development:

C# Examples

 

gxnet\examples\chanadd\

Console program to copy/convert grids using IMG class interface. (C# version).

gxnet\examples\OMScript\

GUI program that can execute GS Scripts and GX’s in GUI mode (C# version).
gxnet\examples\GoogleMapsTool\Example that combines Geosoft API with Google Maps.
gxnet\examples\XToolControl\Sample Geosoft XTool, with binding GX.
gxnet\src\All Geosoft C# code and XTools.
  • No labels