Click or drag to resize
CSYSGetPattern Method
Gets pattern parameters from the parameter block.

Available since Oasis montaj version: 6.4.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
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 iDUMMY) "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 colour value. "PAT_BACKCOLOR" Background colour value. Returned values may be DUMMY, but will be acceptable for use with the iColorForm_GUI function, to set defaults.
Syntax
public static void GetPattern(
	string str1,
	ref int i2,
	ref double d3,
	ref int i4,
	ref double d5,
	ref int i6,
	ref int i7
)

Parameters

str1
Type: SystemString
Input group name
i2
Type: SystemInt32
Pattern
d3
Type: SystemDouble
Size,
i4
Type: SystemInt32
Thick (0-100)
d5
Type: SystemDouble
Density,
i6
Type: SystemInt32
Pattern Color
i7
Type: SystemInt32
Background Color
See Also