Ets_Nt_Subnet_View_Coords_Set()
Abstract
Assigns the view area for the specified ETS subnet object.
Syntax
Ets_Nt_Subnet_View_Coords_Set (subnet_hndl, ul_x, ul_y, lr_x, lr_y)
| Argument | Type | Description |
|---|---|---|
subnet_hndl |
EtsT_Obj_Handle |
Handle of the object of interest. |
ul_x |
double |
New x value of the upper-left coordinate of the view. |
ul_y |
double |
New y value of the upper-left coordinate of the view. |
lr_x |
double |
New x value of the lower-right coordinate of the view. |
lr_y |
double |
New y value of the lower-right coordinate of the view. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the object is a subnet, the coordinate values are valid, and the values are set on the object. EtsC_Compcode_Failure otherwise.
Header
ets_api_nt.h
Details
The view coordinates define the area of the map to be displayed initially when a user descends into a subnet.