Click or drag to resize
CEMAPTEMPLATESetTemplateLayoutProps Method
Set 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 SetTemplateLayoutProps(
	int i1,
	double d2,
	int i3,
	int i4,
	int i5,
	int i6,
	int i7,
	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