YTウィンドウオプション - 全体の状態を取得します。
Ret = LoggerGetGraphLabelText ( AppId , WindowNo , TargetItem , TitleEnable , TitleText )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
LoggerOpenApplicationで取得したアプリケーションIDを指定します。
WindowNo [ VB.NET: UShort ] [ C++:unsigned short ] [ C#: ushort ]
0固定となります。
TargetItem [ VB.NET: UShort ] [ C++:unsigned short ] [ C#: ushort ]
対象とするタイトルを指定します。
値 [Dec] |
マクロ |
内容 |
0 |
LOGGER_PARAM_AXIS_X |
X軸 (T軸) |
1 |
LOGGER_PARAM_AXIS_Y |
Y軸 |
2 |
LOGGER_PARAM_TITLE_GRAPH |
グラフタイトル |
TitleEnable [ VB.NET: UShort ] [ C++:unsigned short * ] [ C#: out ushort ]
タイトル表示の状態を格納するアドレスを指定します。
TitleText [ VB.NET: StringBuider ] [ C++: char *] [ C#: out string ]
タイトル文字を格納するアドレスを指定します。
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
定義 |
戻り値 [Dec] |
内容 |
LOGGER_ERR_SUCCESS |
0 |
正常終了 |
LOGGER_ERR_INVALID_ID |
10010 |
無効なAppIDが指定されました。 |
その他のエラー(参照:エラーコード一覧)
特になし
YTウィンドウオプション - 全体の状態を取得します。
詳細は、「YTウィンドウオプション - 全体」トピックを参照してください。
グラフタイトルの状態を取得します。
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ウィンドウ」 「YTウィンドウオプション - 全体」