Click or drag to resize

CEMAPSetViewportMode Method

Set the viewport mode.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void SetViewportMode(
	int mode
)

public void SetViewportMode(
	int mode
)

Parameters

mode
Type: SystemInt32
<define>EMAP_VIEWPORT</define>
Remarks
This is handy for using a map to define an area of interest. Use in conjunction with Get/Set AOIArea. If this is used inside montaj it is important to set or provide for a method to set the map mode back to normal as this is not exposed in the interface.
See Also