Click or drag to resize

CMVIEWCreate Method

Create MVIEW.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static CMVIEW Create(
	CGXNETCore gxNetShared,
	CMAP map,
	string name,
	int mode
)

public static CMVIEW Create(
	CGXNETCore gxNetShared,
	CMAP map,
	string name,
	int mode
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
map
Type: GeoEngine.Core.GXNetXCMAP
MAP on which to place the view
name
Type: SystemString
View name (maximum <define>MVIEW_NAME_LENGTH</define>)
mode
Type: SystemInt32
<define>MVIEW_OPEN</define>

Return Value

Type: CMVIEW
MVIEW, aborts if creation fails
Remarks
View scaling is set to mm on the map and the view origin is set to the map origin.
See Also