![](../icons/Help.png) | CSYSGetPattern Method |
Gets pattern parameters from the parameter block.
Available since Oasis montaj version: 6.4
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.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 <define>iDUMMY</define>)
"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.
Returned values may be DUMMY, but will be acceptable for use with
the iColorForm_GUI function, to set defaults.
Syntaxpublic static void GetPattern(
CGXNETCore gxNetShared,
string group,
ref int pat,
ref double size,
ref int thick,
ref double dense,
ref int col,
ref int back_col
)
Public Shared Sub GetPattern (
gxNetShared As CGXNETCore,
group As String,
ByRef pat As Integer,
ByRef size As Double,
ByRef thick As Integer,
ByRef dense As Double,
ByRef col As Integer,
ByRef back_col As Integer
)
public:
static void GetPattern(
CGXNETCore^ gxNetShared,
String^ group,
int% pat,
double% size,
int% thick,
double% dense,
int% col,
int% back_col
)
static member GetPattern :
gxNetShared : CGXNETCore *
group : string *
pat : int byref *
size : float byref *
thick : int byref *
dense : float byref *
col : int byref *
back_col : int byref -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - group
- Type: SystemString
Input group name - pat
- Type: SystemInt32
Pattern - size
- Type: SystemDouble
Size, - thick
- Type: SystemInt32
Thick (0-100) - dense
- Type: SystemDouble
Density, - col
- Type: SystemInt32
Pattern Color - back_col
- Type: SystemInt32
Background Color
See Also