| 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.GXNetAssembly: 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
)
Public Shared Sub RenderPattern (
d1 As IntPtr,
i2 As Integer,
i3 As Integer,
i4 As Integer,
i5 As Integer,
i6 As Integer,
d7 As Double,
i8 As Integer,
d9 As Double,
i10 As Integer,
i11 As Integer,
i12 As Integer,
i13 As Integer,
i14 As Integer
)
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
)
static member RenderPattern :
d1 : IntPtr *
i2 : int *
i3 : int *
i4 : int *
i5 : int *
i6 : int *
d7 : float *
i8 : int *
d9 : float *
i10 : int *
i11 : int *
i12 : int *
i13 : int *
i14 : int -> unit
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