Click or drag to resize
CEMAPGetMapLayoutProps Method
Get the base layout view properties.

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.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
This affects the display units and other related properties for the base view of a map.
Syntax
public void GetMapLayoutProps(
	ref int snap_to_grid,
	ref double snap_dist,
	ref int view_grid,
	ref int view_rulers,
	ref int view_units,
	ref int grid_red,
	ref int grid_green,
	ref int grid_blue
)

Parameters

snap_to_grid
Type: SystemInt32
Snap to grid
snap_dist
Type: SystemDouble
Snapping distance (always in mm)
view_grid
Type: SystemInt32
View Grid
view_rulers
Type: SystemInt32
View Rulers
view_units
Type: SystemInt32
<define>LAYOUT_VIEW_UNITS</define> View Units
grid_red
Type: SystemInt32
Grid Red Component (0-255)
grid_green
Type: SystemInt32
Grid Green Component (0-255)
grid_blue
Type: SystemInt32
Grid Blue Component (0-255)
See Also