![](../icons/Help.png) | CSEMPLOTiViewType Method |
Test to see if a view is an XYPlot or Triplot view.
Available since Oasis montaj version: 6.4.2
License: Available to specially licensed modules.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
First checks the view name to see if it starts with
"XYplt_" or "Triplt_". Failing that it looks in the
view REG for a value for "Components.Type", which will
be either "XYPlot" or "TriPlot".
If the view does not appear to be an XYPlot or a TriPlot view,
the function returns <define>SEMPLOT_PLOT_UNKNOWN</define>.
Syntaxpublic static int iViewType(
CGXNETCore gxNetShared,
CMAP map,
string view
)
Public Shared Function iViewType (
gxNetShared As CGXNETCore,
map As CMAP,
view As String
) As Integer
public:
static int iViewType(
CGXNETCore^ gxNetShared,
CMAP^ map,
String^ view
)
static member iViewType :
gxNetShared : CGXNETCore *
map : CMAP *
view : string -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - map
- Type: GeoEngine.Core.GXNetXCMAP
Input map object - view
- Type: SystemString
Input view name
Return Value
Type:
Int32<define>SEMPLOT_PLOT</define>
See Also