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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com