YT Window Options - Get Overview status
Ret = LoggerGetGraphLabelText ( AppId , WindowNo , TargetItem , TitleEnable , TitleText )
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.
TargetItem [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify the target title.
Value [Dec] |
Macro |
Description |
0 |
LOGGER_PARAM_AXIS_X |
X Axis (T Axis) |
1 |
LOGGER_PARAM_AXIS_Y |
Y Axis |
2 |
LOGGER_PARAM_TITLE_GRAPH |
Graph Title |
TitleEnable [ VB.NET: UShort ] [ C++: unsigned short * ] [ C#: out ushort ]
Specify the address where the title display state is stored.
TitleText [ VB.NET: StringBuilder ] [ C++: char *] [ C#: out string ]
Specify the address where the title text will 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.
YT Window Options - Get Overview status.
For more information, see YT Window Options - Overview topic.
Get the state of the graph title.
VB.NET |
Dim Ret As Integer Dim TitleText As New StringBuilder("", 256) Ret = LoggerGetGraphLabelText(AppId, 0, LOGGER_PARAM_TITLE_GRAPH, TitleEnable, TitleText)
|
C++ |
long Ret; char* TitleText[255]; Ret = LoggerGetGraphLabelText(AppId, 0, LOGGER_PARAM_TITLE_GRAPH, &TitleEnable, &TitleText[0]);
|
C# |
int Ret; string TitleText; Ret = logger.GetGraphLabelText(AppId, 0, LOGGER_PARAM_TITLE_GRAPH, out TitleEnable, out TitleText);
|
LoggerSetGraphLabelText "YT Window" "YT Window Options - Overview"