Click or drag to resize

CEMAPTEMPLATEGetTemplateLayoutProps Method

Get the base layout view properties.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void GetTemplateLayoutProps(
	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
)

public void GetTemplateLayoutProps(
	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)
Remarks
This affects the display units and other related properties for the base view of a map.
See Also