Ets_Nt_Link_Label_Position_Set()
Abstract
Sets the center position of a link’s label string, if any.
Syntax
Ets_Nt_Link_Label_Position_Set (link_hndl, x, y)
| Argument | Type | Description |
|---|---|---|
link_hndl |
EtsT_Obj_Handle |
Handle of the link of interest |
x |
double |
x position of the center of the label |
y |
double |
y position of the center of the label. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the label is valid, EtsC_Compcode_Failure otherwise
Header
ets_api_nt.h
Details
If there is a label associated with the specified link, sets the label position. If either x or y is set to VOSC_NA_DBL_INFINITY, the label is removed.
The label position is not saved to disk with the model. If this information needs to be stored, appropriate values should be stored in client state.