Click or drag to resize
CGUIRenderPattern Method
- Render 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
Renders a Geosoft pattern to a Windows DC.
Syntax
public static void RenderPattern(
	IntPtr d1,
	int i2,
	int i3,
	int i4,
	int i5,
	int i6,
	double d7,
	int i8,
	double d9,
	int i10,
	int i11,
	int i12,
	int i13,
	int i14
)

Parameters

d1
Type: SystemIntPtr
DC Handle
i2
Type: SystemInt32
left value of the render rect in Windows coordinates (bottom>top)
i3
Type: SystemInt32
bottom value
i4
Type: SystemInt32
right value
i5
Type: SystemInt32
top value
i6
Type: SystemInt32
pattern number
d7
Type: SystemDouble
pattern Size, // input GS_R8DM to use default
i8
Type: SystemInt32
pattern Thick (0-100) // input GS_S4DM to use default
d9
Type: SystemDouble
pattern Density, // input GS_R8DM to use default
i10
Type: SystemInt32
pattern Pattern Color // input GS_S4DM to use default
i11
Type: SystemInt32
pattern Background Color // input GS_S4DM to use default; can be C_TRANSPARENT
i12
Type: SystemInt32
is this window enabled?
i13
Type: SystemInt32
is this a button?
i14
Type: SystemInt32
is this window selected?
See Also