Click or drag to resize

CSTKSetAxisParms Method

Set parameters in STK object relating drawing X/Y axis

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void SetAxisParms(
	int bar_draw,
	double min_loc,
	double max_loc,
	double thick,
	string color,
	double tick_interval,
	double tick_size1,
	double tick_size2,
	int min_tick,
	int xy
)

public void SetAxisParms(
	int bar_draw,
	double min_loc,
	double max_loc,
	double thick,
	string color,
	double tick_interval,
	double tick_size1,
	double tick_size2,
	int min_tick,
	int xy
)

Parameters

bar_draw
Type: SystemInt32
?BARDRAW, <define>STK_AXIS_POS</define>
min_loc
Type: SystemDouble
Bottom Y/Left X location
max_loc
Type: SystemDouble
Top Y/Right X location
thick
Type: SystemDouble
?BARLINETHICK - Line thickness in mm. Default is 0.05
color
Type: SystemString
?BARCOLOR - Line color string in RGB model. Default is black
tick_interval
Type: SystemDouble
?BARTICKINTEERVAL
tick_size1
Type: SystemDouble
Major tick size in mm for bottom/left axis bar.
tick_size2
Type: SystemDouble
Major tick size in mm for top/right axis bar.
min_tick
Type: SystemInt32
?BARMINORTICK - Number of minor ticks. (0) none, (-1) automatic
xy
Type: SystemInt32
<define>STK_AXIS</define>
Remarks
See MSTK for detailed description of all function parameters ? mark in the note represent either X and Y
See Also