Ets_Gui_Screen_Bitmap_Rect_Capture()

Note: Requires OPNET Development Kit

Abstract

Captures a valid screen rectangle on the screen.

Syntax

Ets_Gui_Screen_Bitmap_Rect_Capture (screen_rect, file_path, options)
Argument Type Description
screen_rect EtsT_Rect Screen rectangle.
file_path const char * Pointer to the file path.
options int Specified options (see Details).

Return Type

EtsT_Compcode

EtsC_Compcode_Success if it returns the valid screen rectangle, file path, and options; otherwise, it returns EtsC_Compcode_Failure.

ets_api_gui.h

Details

This function captures an image of the specified box of the root screen according to the specified image file path and options. Supported options include:

  • ETSC_GUI_SCREEN_BITMAP_CAPTURE_OPT_NONE
  • ETSC_GUI_SCREEN_BITMAP_CAPUTRE_OPT_FILE_GIF
  • ETSC_GUI_SCREEN_BITMAP_CAPTURE_OPT_FILE_TIFF
  • ETSC_GUI_SCREEN_BITMAP_CAPTURE_OPT_FILE_PNG
  • ETSC_GUI_SCREEN_BITMAP_CAPTURE_OPT_NO_BORDER

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