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

Available since Oasis montaj version: 5.0.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.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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(
	ref int i1,
	ref double d2,
	ref int i3,
	ref double d4,
	ref int i5,
	ref int i6
)

Parameters

i1
Type: SystemInt32
Current Pattern
d2
Type: SystemDouble
Current Size, // returned
i3
Type: SystemInt32
Current Thick (0-100) // returned
d4
Type: SystemDouble
Current Density, // returned
i5
Type: SystemInt32
Current Pattern Color // passed in and returned
i6
Type: SystemInt32
Current Background Color // passed in and returned; can be C_TRANSPARENT

Return Value

Type: Int32
0 - Ok 1 - Cancel
See Also