Ets_View_Annot_Rect_Position_Set()

注意: 需要 OPNET Development Kit

摘要

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

语法

Ets_View_Annot_Rect_Position_Set (view_hndl, annot_hndl, xpos, ypos, width, height)
参数 类型 说明
view_hndl EtsT_View_Handle 目标视图。
annot_hndl EtsT_Obj_Handle 目标注释矩形。
xpos double 要为注释矩形设置的 X 位置。
ypos double 要为注释矩形设置的 Y 位置。
width double 要为注释矩形设置的宽度。
height 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