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

Available since Oasis montaj version: 5.0.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.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
This affects the display units and other related properties for the base view of a map.
Syntax
public void GetMapLayoutProps(
	ref int i1,
	ref double d2,
	ref int i3,
	ref int i4,
	ref int i5,
	ref int i6,
	ref int i7,
	ref int i8
)

Parameters

i1
Type: SystemInt32
See GEO_BOOLConstant Snap to grid
d2
Type: SystemDouble
Snapping distance (always in mm)
i3
Type: SystemInt32
View Grid
i4
Type: SystemInt32
View Rulers
i5
Type: SystemInt32
See LAYOUT_VIEW_UNITSConstant View Units
i6
Type: SystemInt32
Grid Red Component (0-255)
i7
Type: SystemInt32
Grid Green Component (0-255)
i8
Type: SystemInt32
Grid Blue Component (0-255)
See Also