Click or drag to resize

CSYSGetPattern Method

Gets pattern parameters from the parameter block.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void GetPattern(
	CGXNETCore gxNetShared,
	string group,
	ref int pat,
	ref double size,
	ref int thick,
	ref double dense,
	ref int col,
	ref int back_col
)

public static void GetPattern(
	CGXNETCore gxNetShared,
	string group,
	ref int pat,
	ref double size,
	ref int thick,
	ref double dense,
	ref int col,
	ref int back_col
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
group
Type: SystemString
Input group name
pat
Type: SystemInt32
Pattern
size
Type: SystemDouble
Size,
thick
Type: SystemInt32
Thick (0-100)
dense
Type: SystemDouble
Density,
col
Type: SystemInt32
Pattern Color
back_col
Type: SystemInt32
Background Color
Remarks
Gets all the user-definable pattern parameters from a specified group. Parameters are: "PAT_NUMBER" 0 is solid fill (default) "PAT_SIZE" pattern tile size in mm. (can return <define>iDUMMY</define>) "PAT_THICKNESS" pattern line thickness in percent of the tile size. valid range is 0-100. "PAT_DENSITY" Tile spacing. A value of 1 means tiles are laid with no overlap. A value of 2 means they overlap each other. "PAT_COLOR" The color value. "PAT_BACKCOLOR" Background color value. Returned values may be DUMMY, but will be acceptable for use with the iColorForm_GUI function, to set defaults.
See Also