| CSYSGetPattern Method |
Gets pattern parameters from 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
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
)
Public Shared Sub GetPattern (
str1 As String,
ByRef i2 As Integer,
ByRef d3 As Double,
ByRef i4 As Integer,
ByRef d5 As Double,
ByRef i6 As Integer,
ByRef i7 As Integer
)
public:
static void GetPattern(
String^ str1,
int% i2,
double% d3,
int% i4,
double% d5,
int% i6,
int% i7
)
static member GetPattern :
str1 : string *
i2 : int byref *
d3 : float byref *
i4 : int byref *
d5 : float byref *
i6 : int byref *
i7 : int byref -> unit
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