Ets_View_Annot_Rect_Position_Get()
Note: Requires OPNET Development Kit
Abstract
Gets the logical position and size of the annotation rectangle in the specified view.
Syntax
Ets_View_Annot_Rect_Position_Get (view_hndl, annot_hndl, xpos_ptr, ypos_ptr, width_ptr, height_ptr)
| Argument | Type | Description |
|---|---|---|
view_hndl |
EtsT_View_Handle |
View of interest. |
annot_hndl |
EtsT_Obj_Handle |
Annotation rectangle of interest. |
xpos_ptr |
double * |
Area to be filled with the X position of the annotation rectangle. |
ypos_ptr |
double * |
Area to be filled with the Y position of the annotation rectangle. |
width_ptr |
double * |
Area to be filled with the width of the annotation rectangle. |
height_ptr |
double * |
Area to be filled with the height of the annotation rectangle. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the operation is successful; EtsC_Compcode_Failure otherwise.
Header
ets_api_view_logical.h