Ets_Nt_Model_Visible_Bounds_Get()
Abstract
Returns the number of pixels vertically and horizontally in the current view of a network model.
Syntax
Ets_Nt_Model_Visible_Bounds_Get (mdl_hndl, visible_pixel_width, visible_pixel_height)
| Argument | Type | Description |
|---|---|---|
mdl_hndl |
EtsT_Model_Handle |
Handle of the model. |
visible_pixel_width |
int * |
Address of variable in which to store the visible width in pixels |
visible_pixel_height |
int * |
Address of variable in which to store the visible height in pixels. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if model exists and is open, EtsC_Compcode_Failure otherwise.
Header
ets_api_nt.h
Details
This function returns the current visible bounds of the network model in pixels, essentially how many pixels are contained over the height and the width of the current view of the network model. The width information can be used with Ets_Nt_Subnet_Image_Capture() to capture a graphical image of a subnet.