| CMVUiMapsetTest Method |
Test function to ensure parameters to Mapset_MVU is sane
Available since Oasis montaj version: 6.3.0
License: Available to anyone with an Oasis Montaj license.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
Use ShowError_SYS to display errors that may have been encountered. This function can also be used
to calculate the default scale without creating a map.
Syntax public static int iMapsetTest(
double d1,
double d2,
double d3,
double d4,
string str5,
int i6,
int i7,
ref double d8,
double d9,
double d10,
double d11,
double d12,
double d13,
double d14
)
Public Shared Function iMapsetTest (
d1 As Double,
d2 As Double,
d3 As Double,
d4 As Double,
str5 As String,
i6 As Integer,
i7 As Integer,
ByRef d8 As Double,
d9 As Double,
d10 As Double,
d11 As Double,
d12 As Double,
d13 As Double,
d14 As Double
) As Integer
public:
static int iMapsetTest(
double d1,
double d2,
double d3,
double d4,
String^ str5,
int i6,
int i7,
double% d8,
double d9,
double d10,
double d11,
double d12,
double d13,
double d14
)
static member iMapsetTest :
d1 : float *
d2 : float *
d3 : float *
d4 : float *
str5 : string *
i6 : int *
i7 : int *
d8 : float byref *
d9 : float *
d10 : float *
d11 : float *
d12 : float *
d13 : float *
d14 : float -> int
Parameters
- d1
- Type: SystemDouble
Minimum X of map area (ground units) - d2
- Type: SystemDouble
Maximum X of map area (ground units) - d3
- Type: SystemDouble
Minimum Y of map area (ground units) - d4
- Type: SystemDouble
Maximum Y of map area (ground units) - str5
- Type: SystemString
Size of paper (e.g. A1, E, etc.) - i6
- Type: SystemInt32
Portrait map? (or landscape) (FALSE by default) - i7
- Type: SystemInt32
Map is exactly sized to area? (or trimmed to data and margins) (FALSE by default) - d8
- Type: SystemDouble
Map scale (rDummy for default) - d9
- Type: SystemDouble
Conversion factor (to units/meter) (rDummy for default) - d10
- Type: SystemDouble
Minimum X of margin area (cm) - d11
- Type: SystemDouble
Maximum X of margin area (cm) - d12
- Type: SystemDouble
Minimum Y of margin area (cm) - d13
- Type: SystemDouble
Maximum Y of margin area (cm) - d14
- Type: SystemDouble
Inside edge (cm)
Return Value
Type:
Int32See
GEO_BOOLConstant TRUE if the parameters are good.
See Also