Get the state of the graph zoom.
Ret = LoggerGetGraphZoom ( AppId , WindowNo , Axis , Zoom )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by LoggerOpenApplication.
WindowNo [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
It should be fixed to 0.
Axis [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify the axis.
Value [Dec] |
Macro |
Description |
0 |
LOGGER_PARAM_AXIS_X |
X Axis (T Axis) |
1 |
LOGGER_PARAM_AXIS_Y |
Y Axis |
Zoom [ VB.NET: UShort ] [ C++: unsigned short * ] [ C#: out ushort ]
Specify the address where expansion or contraction settings should be stored.
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Definition |
Return code [Dec] |
Description |
LOGGER_ERR_SUCCESS |
0 |
Normal completed |
LOGGER_ERR_INVALID_ID |
10010 |
Invalid AppId was specified. |
The others (See also: Error Code List)
Nothing in particular.
Get the state of the graph zoom.
Get the scaling of the graph along the y-axis.
VB.NET |
Dim Ret As Integer Ret = LoggerGetGraphZoom(AppId, 0, LOGGER_PARAM_AXIS_Y, Zoom)
|
C++ |
long Ret; Ret = LoggerGetGraphZoom(AppId, 0, LOGGER_PARAM_AXIS_Y, &Zoom);
|
C# |
int Ret; Ret = logger.GetGraphZoom(AppId, 0, LOGGER_PARAM_AXIS_Y, out Zoom);
|