 | 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.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void BestFitWindow(
ref double m_min_x,
ref double m_min_y,
ref double m_max_x,
ref double m_max_y,
ref double v_min_x,
ref double v_min_y,
ref double v_max_x,
ref double v_max_y,
int fit_view
)
public void BestFitWindow(
ref double m_min_x,
ref double m_min_y,
ref double m_max_x,
ref double m_max_y,
ref double v_min_x,
ref double v_min_y,
ref double v_max_x,
ref double v_max_y,
int fit_view
)
Public Sub BestFitWindow (
ByRef m_min_x As Double,
ByRef m_min_y As Double,
ByRef m_max_x As Double,
ByRef m_max_y As Double,
ByRef v_min_x As Double,
ByRef v_min_y As Double,
ByRef v_max_x As Double,
ByRef v_max_y As Double,
fit_view As Integer
)
Public Sub BestFitWindow (
ByRef m_min_x As Double,
ByRef m_min_y As Double,
ByRef m_max_x As Double,
ByRef m_max_y As Double,
ByRef v_min_x As Double,
ByRef v_min_y As Double,
ByRef v_max_x As Double,
ByRef v_max_y As Double,
fit_view As Integer
)
public:
void BestFitWindow(
double% m_min_x,
double% m_min_y,
double% m_max_x,
double% m_max_y,
double% v_min_x,
double% v_min_y,
double% v_max_x,
double% v_max_y,
int fit_view
)
public:
void BestFitWindow(
double% m_min_x,
double% m_min_y,
double% m_max_x,
double% m_max_y,
double% v_min_x,
double% v_min_y,
double% v_max_x,
double% v_max_y,
int fit_view
)
member BestFitWindow :
m_min_x : float byref *
m_min_y : float byref *
m_max_x : float byref *
m_max_y : float byref *
v_min_x : float byref *
v_min_y : float byref *
v_max_x : float byref *
v_max_y : float byref *
fit_view : int -> unit
member BestFitWindow :
m_min_x : float byref *
m_min_y : float byref *
m_max_x : float byref *
m_max_y : float byref *
v_min_x : float byref *
v_min_y : float byref *
v_max_x : float byref *
v_max_y : float byref *
fit_view : int -> unit
Parameters
- m_min_x
- Type: SystemDouble
X minimum (mm) of the area in map relative to map origin - m_min_y
- Type: SystemDouble
Y minimum .. - m_max_x
- Type: SystemDouble
X maximum .. - m_max_y
- Type: SystemDouble
Y maximum .. - v_min_x
- Type: SystemDouble
Min X in ground coordinate to fit to the area defined above - v_min_y
- Type: SystemDouble
Min Y in ground coordinate .. - v_max_x
- Type: SystemDouble
Max X in ground coordinate .. - v_max_y
- Type: SystemDouble
Max Y in ground coordinate .. - fit_view
- Type: SystemInt32
<define>MVIEW_FIT</define>
Remarks
X and Y scales will be redefined and units will remain unchanged.
The final X and Y ranges (if changed) are returned.
See Also