ImageGear Professional DLL v18.1 for Windows
IG_comm_comp_attach
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Component Manager Functions > IG_comm_comp_attach

Glossary Item Box

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:

Name Type Description
lpCompName LPCHAR 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. You can specify a different path to the folder containing component modules using global parameters API function IG_gctrl_item_set() and "COMM.PATH" global parameter.

See Also:

ImageGear Components

Global Control Parameters

©2014. Accusoft Corporation. All Rights Reserved.