eant_ColorAddToLibrary

Go Back

Summary:
  Add an Eant_Color to the style library.

Header File:
  eant_Color.h

Library Name:
  elib

long    eant_ColorAddToLibrary  (
    Eant_Color*    color,
    Eant_StyleLibrary*    styleLib,
    Emsc_Boolean    lookForDups,
    Eerr_ErrorReport**    lclerr,
  )
color
    Specifies the color values to be set.
lclerr
    Error handling structure pointer.
lookForDups
    The flag indicating whether to look for duplicate entries in the library.
styleLib
    The style library to delete the styles from.

Description:
  Add an Eant_Color to the library. Return the position where the style was added.

Notes:
  None.

Return Description:
  Upon success this function returns long. If an error occurs this function calls eerr_CreateErrorReport.