"loadColorFile"

Loads a WinCC OA color file.

Synopsis

void loadColorFile(string strFile h);

Parameters

Parameter Description
strFile A color file

Description

Loads a WinCC OA color file. Thereafter you can use all the colors of the color file for the GIS Viewer.

Example

This example loads a WinCC OA color file.

main()
{
  string strColorFile = getPath( COLORDB_REL_PATH, "colorDB");/* returns the absolute path for colorDB */
  GisViewer_ewo1.loadColorFile(strColorFile);//Loads the color file
}

Assignment

GIS Viewer