| CMVIEWBestFitWindow Method |
Fit an area in ground coordinates centered to an area in mm on map or vise versa
keeping X and Y scales the same.
Available since Oasis montaj version: 5.1.8
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
X and Y scales will be redefined and units will remain unchanged.
The final X and Y ranges (if changed) are returned.
Syntax public void BestFitWindow(
ref double d1,
ref double d2,
ref double d3,
ref double d4,
ref double d5,
ref double d6,
ref double d7,
ref double d8,
int i9
)
Public Sub BestFitWindow (
ByRef d1 As Double,
ByRef d2 As Double,
ByRef d3 As Double,
ByRef d4 As Double,
ByRef d5 As Double,
ByRef d6 As Double,
ByRef d7 As Double,
ByRef d8 As Double,
i9 As Integer
)
public:
void BestFitWindow(
double% d1,
double% d2,
double% d3,
double% d4,
double% d5,
double% d6,
double% d7,
double% d8,
int i9
)
member BestFitWindow :
d1 : float byref *
d2 : float byref *
d3 : float byref *
d4 : float byref *
d5 : float byref *
d6 : float byref *
d7 : float byref *
d8 : float byref *
i9 : int -> unit
Parameters
- d1
- Type: SystemDouble
X minimum (mm) of the area in map relative to map origin - d2
- Type: SystemDouble
Y minimum .. - d3
- Type: SystemDouble
X maximum .. - d4
- Type: SystemDouble
Y maximum .. - d5
- Type: SystemDouble
min X in ground coordinate to fit to the area defined above - d6
- Type: SystemDouble
min Y in ground coordinate .. - d7
- Type: SystemDouble
max X in ground coordinate .. - d8
- Type: SystemDouble
max Y in ground coordinate .. - i9
- Type: SystemInt32
See MVIEW_FITConstant
See Also