Click or drag to resize
CGUIiPatternForm Method
- Select a pattern.

Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Pattern values set on input, and new values returned. Solid fill is indicated by Pattern number 0. Returned Values (not set on input) Size pattern tile size in mm. Thick pattern line thickness in percent of the tile size. valid range is 0-100. Density Tile spacing. A value of 1 means tiles are laid with no overlap. A value of 2 means they overlap each other. The pattern Angle and Style parameters are not user-definable.
Syntax
public static int iPatternForm(
	CGXNETCore gxNetShared,
	ref int pat,
	ref double size,
	ref int thick,
	ref double dense,
	ref int col,
	ref int back_col
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
pat
Type: SystemInt32
Current Pattern
size
Type: SystemDouble
Current Size, // returned
thick
Type: SystemInt32
Current Thick (0-100) // returned
dense
Type: SystemDouble
Current Density, // returned
col
Type: SystemInt32
Current Pattern Color // passed in and returned
back_col
Type: SystemInt32
Current Background Color // passed in and returned; can be <define>C_TRANSPARENT</define>

Return Value

Type: Int32
0 - Ok 1 - Cancel
See Also