This function allows you to attach ImageGear component defined by lpCompName to the main ImageGear module.
Declaration:
Copy Code | |
---|---|
AT_ERRCODE LACCUAPI IG_comm_comp_attach ( LPCHAR lpCompName ); |
Arguments:
lpCompName | The Name of ImageGear Component to be linked with main ImageGear module. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
Annotation, Vector, Filters, Flashpix, ImageClean, Medical, MFC, Multimedia, ISIS, Delphi
Example:
Copy Code | |
---|---|
... #include "i_ART.h" ... /* Initialize ART component */ IG_comm_comp_attach( "ART" ); ... |
Remarks:
By default, ImageGear searches for components in the same directory where main ImageGear module is located but it is possible to specify exact path and filename to given module name of component using global parameters API function IG_gctrl_item_set() and setting parameter "COMM.<COMP_NAME>" to full path of component.
See also the section ImageGear Components.