Ets_Dbox_Bitmap_Capture()

Note: Requires OPNET Development Kit

Abstract

Captures a dialog box to an image file.

Syntax

Ets_Dbox_Bitmap_Capture (dbox_ptr, file_path, options)
Argument Type Description
dbox_ptr EtsT_Dbox * Dialog box to be captured.
file_path const char * Path and name of file in which to store the captured image.
options int Capture options; OR'ed combination of the bitmap capture options given in Table 12 Dialog Box Sub-Package Symbolic Constants.

Return Type

EtsT_Compcode

EtsC_Compcode_Success if the capture occurs successfully; EtsC_Compcode_Failure otherwise (for example, if file_path is not valid)

ets_api_gui.h

Details

This function captures an image of the specified dialog box without user interaction. The options argument lets you specify that the image be captured:

  • In GIF, TIFF, BMP, or PNG format.
  • With or without the dialog box title.
  • With or without a black border around the image (border width is specified by the image_capture.border_width preference).

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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