![](../icons/Help.png) | CEMAPSetViewportMode Method |
Set the viewport mode.
Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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.
Syntaxpublic void SetViewportMode(
int mode
)
Public Sub SetViewportMode (
mode As Integer
)
public:
void SetViewportMode(
int mode
)
member SetViewportMode :
mode : int -> unit
Parameters
- mode
- Type: SystemInt32
<define>EMAP_VIEWPORT</define>
See Also