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