| CSYSSetPattern Method |
Sets pattern parameters in the parameter block.
Available since Oasis montaj version: 6.4.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: 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
)
Public Shared Sub SetPattern (
str1 As String,
i2 As Integer,
d3 As Double,
i4 As Integer,
d5 As Double,
i6 As Integer,
i7 As Integer
)
public:
static void SetPattern(
String^ str1,
int i2,
double d3,
int i4,
double d5,
int i6,
int i7
)
static member SetPattern :
str1 : string *
i2 : int *
d3 : float *
i4 : int *
d5 : float *
i6 : int *
i7 : int -> unit
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