Click or drag to resize
CGUIRenderLinePattern Method
Render a line pattern.

Available since Oasis montaj version: 8.1
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
Same as RenderPattern_GUI but for line patterns.
Syntax
public static void RenderLinePattern(
	CGXNETCore gxNetShared,
	IntPtr hdc,
	int left,
	int bottom,
	int right,
	int top,
	int pattern,
	double thickness,
	double pitch,
	int col,
	int is_enabled,
	int is_button,
	int is_selected
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
hdc
Type: SystemIntPtr
DC Handle
left
Type: SystemInt32
Left value of the render rect in Windows coordinates (bottom>top)
bottom
Type: SystemInt32
Bottom value
right
Type: SystemInt32
Right value
top
Type: SystemInt32
Top value
pattern
Type: SystemInt32
Pattern number
thickness
Type: SystemDouble
Pattern thickness
pitch
Type: SystemDouble
Pattern pitch
col
Type: SystemInt32
Pattern color
is_enabled
Type: SystemInt32
Is this window enabled?
is_button
Type: SystemInt32
Is this a button?
is_selected
Type: SystemInt32
Is this window selected?
See Also