Ets_Nt_Link_Label_Position_Get()

Abstract

Gets the center position of a link’s label string, if any. If no position is set, then infinities are returned.

Syntax

Ets_Nt_Link_Label_Position_Get (link_hndl, x_ptr, y_ptr)
Argument Type Description
link_hndl EtsT_Obj_Handle Handle of the link of interest
x_ptr double * pointer to variable in which x position of center of label is stored
y_ptr double * pointer to variable in which y position of center of label is stored

Return Type

EtsT_Compcode

EtsC_Compode_Success if the handle is valid, EtsC_Compcode_Failure otherwise

ets_api_nt.h

Details

If the specified link has an associated label, fills in x_ptr and y_ptr with the center location of that label.

Otherwise, sets x_ptr and y_ptr to VOSC_NA_DBL_INFINITY.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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