![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
NotesSame as RenderPattern_GUI but for line patterns.
Syntaxpublic 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
)
Public Shared Sub RenderLinePattern (
gxNetShared As CGXNETCore,
hdc As IntPtr,
left As Integer,
bottom As Integer,
right As Integer,
top As Integer,
pattern As Integer,
thickness As Double,
pitch As Double,
col As Integer,
is_enabled As Integer,
is_button As Integer,
is_selected As Integer
)
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
)
static member RenderLinePattern :
gxNetShared : CGXNETCore *
hdc : IntPtr *
left : int *
bottom : int *
right : int *
top : int *
pattern : int *
thickness : float *
pitch : float *
col : int *
is_enabled : int *
is_button : int *
is_selected : int -> unit
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