Click or drag to resize

CSYSSetPattern Method

Sets pattern parameters in 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 SetPattern(
	CGXNETCore gxNetShared,
	string group,
	int pat,
	double size,
	int thick,
	double dense,
	int col,
	int back_col
)

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

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
group
Type: SystemString
Group Name
pat
Type: SystemInt32
Pattern
size
Type: SystemDouble
Size. Input <define>GS_R8DM</define> to use default
thick
Type: SystemInt32
Thickness (0-100). Input <define>GS_S4DM</define> to use default
dense
Type: SystemDouble
Density. Input <define>GS_R8DM</define> to use default
col
Type: SystemInt32
Pattern Color
back_col
Type: SystemInt32
Background Color. Can be <define>C_TRANSPARENT</define>
Remarks
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 color value. "PAT_BACKCOLOR" Background color value. Input values may be DUMMY. Designed for use along with the sPatternForm_GUI function.
See Also