Ets_Html_Nt_Imagemap_Generate()

Abstract

Generates an HTML page containing a diagram of a subnet.

Syntax

Ets_Html_Nt_Imagemap_Generate (nt_model_hndl, subnet_hndl, directory, main_page_name, options)
Argument Type Description
nt_model_hndl EtsT_Model_Handle Model containing the subnet of interest. (If invalid, the current project is used.)
subnet_hndl EtsT_Obj_Handle Subnet of interest. (If invalid, the top subnet is used.)
directory const char * Directory in which to place the generated HTML page.
main_page_name const char * Name for the generated HTML page.
options int Imagemap options (see options).

Return Type

void

No return value.

ets_api_html.h

Details

This function creates an imagemap of the specified subnet and all child subnets. Graphics used in the imagemap will be in GIF format (or PNG format if the option ETSC_HTML_NT_IMAGEMAP_OPT_GRAPHICS_PNG is set).

See Ets_Html_Nt_Imagemap_Generate_Core() for a more powerful version of this function.

options

options must be either ETSC_HTML_NT_IMAGEMAP_OPT_NONE or an OR’ed combination of one or more of the following constants:

  • ETSC_HTML_NT_IMAGEMAP_OPT_EXCLUDE_ATTRIBUTES—do not create pages with attribute data for each object
  • ETSC_HTML_NT_IMAGEMAP_OPT_SKIP_SIMPLE_SUBNETS—begin generating imagemaps with the first subnet (subnet_hndl or a child) that contains more than just a single subnet
  • ETSC_HTML_NT_IMAGEMAP_OPT_GRAPHICS_PNG—create graphics in PNG format (GIF is the default)

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