EtsT_Nt_View_Change_Callback

Note: Requires OPNET Development Kit

Abstract

Callback: Used to specify custom processing after the zoom level or scroll position of the current subnet changes.

Syntax

EtsT_Nt_View_Change_Callback (current_subnet, ul_x, ul_y, lr_x, lr_y, old_nt_resolution, new_nt_resolution, state_ptr)
Argument Type Description
current_subnet EtsT_Obj_Handle Handle to the currently displayed subnet
ul_x double x coordinate of the upper left corner of the visible region, in the units of the current subnet.
ul_y double y coordinate of the upper left corner of the visible region, in the units of the current subnet.
lr_x double x coordinate of the lower right corner of the visible region, in the units of the current subnet.
lr_y double y coordinate of the lower right corner of the visible region, in the units of the current subnet.
old_nt_resolution double The resolution of the current subnet before the view changed.
new_nt_resolution double The new resolution of the current subnet.
state_ptr void * Client’s own state pointer. This pointer is the value that was passed to Ets_Nt_View_Change_Callback_Register().

Return Type

void

No return value.

ets_api_nt_cback.h

Details

Callbacks of this type are registered by Ets_Nt_View_Change_Callback_Register().

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com