Ets_View_Annot_Rect_Position_Get()

注意: 需要 OPNET Development Kit

摘要

获取注释矩形在指定视图中的逻辑位置和尺寸。

语法

Ets_View_Annot_Rect_Position_Get (view_hndl, annot_hndl, xpos_ptr, ypos_ptr, width_ptr, height_ptr)
参数 类型 说明
view_hndl EtsT_View_Handle 目标视图。
annot_hndl EtsT_Obj_Handle 目标注释矩形。
xpos_ptr double * 用于接收注释矩形 X 位置的存储区域。
ypos_ptr double * 用于接收注释矩形 Y 位置的存储区域。
width_ptr double * 用于接收注释矩形宽度的存储区域。
height_ptr double * 用于接收注释矩形高度的存储区域。

返回类型

EtsT_Compcode

操作成功时返回 EtsC_Compcode_Success,否则返回 EtsC_Compcode_Failure。

头文件

ets_api_view_logical.h

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