Click or drag to resize
CSYSSetPattern Method
Sets pattern parameters in 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
Sets all the user-definable pattern parameters to a specified group. Parameters are: "PAT_NUMBER" 0 is solid fill "PAT_SIZE" pattern tile size in mm. "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. Input values may be DUMMY. Designed for use along with the sPatternForm_GUI function.
Syntax
public static void SetPattern(
	string str1,
	int i2,
	double d3,
	int i4,
	double d5,
	int i6,
	int i7
)

Parameters

str1
Type: SystemString
Group Name
i2
Type: SystemInt32
Pattern
d3
Type: SystemDouble
Size. Input GS_R8DM to use default
i4
Type: SystemInt32
Thickness (0-100). Input GS_S4DM to use default
d5
Type: SystemDouble
Density. Input GS_R8DM to use default
i6
Type: SystemInt32
Pattern Color
i7
Type: SystemInt32
Background Color. Can be C_TRANSPARENT
See Also