 | CMVUiMapset2Test Method |
Test function to ensure parameters to Mapset_MVU is sane
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static int iMapset2Test(
CGXNETCore gxNetShared,
double min_x,
double max_x,
double min_y,
double max_y,
string size,
int port,
int exact,
ref double scale,
double vert_exag,
double conv,
double marg_xmin,
double marg_xmax,
double marg_ymin,
double marg_ymax,
double inside
)
public static int iMapset2Test(
CGXNETCore gxNetShared,
double min_x,
double max_x,
double min_y,
double max_y,
string size,
int port,
int exact,
ref double scale,
double vert_exag,
double conv,
double marg_xmin,
double marg_xmax,
double marg_ymin,
double marg_ymax,
double inside
)
Public Shared Function iMapset2Test (
gxNetShared As CGXNETCore,
min_x As Double,
max_x As Double,
min_y As Double,
max_y As Double,
size As String,
port As Integer,
exact As Integer,
ByRef scale As Double,
vert_exag As Double,
conv As Double,
marg_xmin As Double,
marg_xmax As Double,
marg_ymin As Double,
marg_ymax As Double,
inside As Double
) As Integer
Public Shared Function iMapset2Test (
gxNetShared As CGXNETCore,
min_x As Double,
max_x As Double,
min_y As Double,
max_y As Double,
size As String,
port As Integer,
exact As Integer,
ByRef scale As Double,
vert_exag As Double,
conv As Double,
marg_xmin As Double,
marg_xmax As Double,
marg_ymin As Double,
marg_ymax As Double,
inside As Double
) As Integer
public:
static int iMapset2Test(
CGXNETCore^ gxNetShared,
double min_x,
double max_x,
double min_y,
double max_y,
String^ size,
int port,
int exact,
double% scale,
double vert_exag,
double conv,
double marg_xmin,
double marg_xmax,
double marg_ymin,
double marg_ymax,
double inside
)
public:
static int iMapset2Test(
CGXNETCore^ gxNetShared,
double min_x,
double max_x,
double min_y,
double max_y,
String^ size,
int port,
int exact,
double% scale,
double vert_exag,
double conv,
double marg_xmin,
double marg_xmax,
double marg_ymin,
double marg_ymax,
double inside
)
static member iMapset2Test :
gxNetShared : CGXNETCore *
min_x : float *
max_x : float *
min_y : float *
max_y : float *
size : string *
port : int *
exact : int *
scale : float byref *
vert_exag : float *
conv : float *
marg_xmin : float *
marg_xmax : float *
marg_ymin : float *
marg_ymax : float *
inside : float -> int
static member iMapset2Test :
gxNetShared : CGXNETCore *
min_x : float *
max_x : float *
min_y : float *
max_y : float *
size : string *
port : int *
exact : int *
scale : float byref *
vert_exag : float *
conv : float *
marg_xmin : float *
marg_xmax : float *
marg_ymin : float *
marg_ymax : float *
inside : float -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - min_x
- Type: SystemDouble
Minimum X of data area (data units) - max_x
- Type: SystemDouble
Maximum X of data area (data units) - min_y
- Type: SystemDouble
Minimum Y of data area (data units) - max_y
- Type: SystemDouble
Maximum Y of data area (data units) - size
- Type: SystemString
Media size as a string 'x_cm,y_cm', or a standard paper size (e.g. 'A4', 'E') - port
- Type: SystemInt32
0 - landscape; 1 - portrait - exact
- Type: SystemInt32
1 - map size fixed to media; 0 - map size adjusted to data and margins. - scale
- Type: SystemDouble
Map scale (rDummy for default) - vert_exag
- Type: SystemDouble
Vertical exaggeration (Normally 1.0) - conv
- Type: SystemDouble
Conversion factor (to units/meter) (rDummy for default) - marg_xmin
- Type: SystemDouble
Left margin (cm) - marg_xmax
- Type: SystemDouble
Right margin (cm) - marg_ymin
- Type: SystemDouble
Bottom margin (cm) - marg_ymax
- Type: SystemDouble
Top margin (cm) - inside
- Type: SystemDouble
Inside data margin (cm)
Return Value
Type:
Int32True if the parameters are good.
RemarksSame as iMapsetTest_MVU, with vertical exaggeration.
See Also