ITacticalGraphicsServer Interface

long AddGraphics(long tg_ovl_handle, BSTR tg_xml_doc);

AddGraphics adds all the graphics specified in tg_xml_doc to the overlay.

Parameters

  • tg_ovl_handle - the handle to a tactical graphics overlay created by passing the argument CLIENT_OVL_TACTICAL_GRAPHICS to the ILayer function CreateOverlay??
  • tg_xml_doc - a string that contains an extensible markup language (XML) document that conforms to the Tactical Graphics XML schema

Returns

  • 0 (success)
  • -1 (failure)

Remarks

Refer to the file "TacticalGraphics.xsd" in the FalconView Software Development Kit (SDK) for the Tactical Graphics XML schema.

ITacticalGraphicsServer2 Interface

long RemoveGraphic(long tg_handle);

RemoveGraphic deletes the graphic with the pointer tg_handle from the display and then refreshes the display.

Parameters

  • tg_handle - the handle to a tactical graphic

Returns

  • 0 (success)
  • -1 (failure)

long UpdateGraphics(long tg_ovl_handle, BSTR tg_xml_doc);

UpdateGraphics refreshes the overlay referenced by tg_ovl_handle with those objects described in tg_xml_doc.

Parameters

  • tg_ovl_handle - the handle to a tactical graphics overlay created by passing the argument CLIENT_OVL_TACTICAL_GRAPHICS to the ILayer function CreateOverlay??
  • tg_xml_doc - a string that contains an extensible markup language (XML) document that conforms to the Tactical Graphics XML schema

Returns

  • 0 (success)
  • -1 (failure)

-- CareyCilyok? - 18 Oct 2006


You are here: FVDev > PlugIn > Editors > FalconViewOverlays > TacticalGraphicsOverlay > AddGraphics