ImageGear Professional DLL v17.2 for Windows
IG_vect_ent_set_cliprgn
Send Feedback
ImageGear Professional DLL v17.2 for Windows > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Entity Functions > IG_vect_ent_set_cliprgn

Glossary Item Box

This function creates clipping region for the entity and copies specified region data there.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_ent_set_cliprgn(
   HIG_VECT_ENTITY hEntity,
   IGVectPoint3D * lpRgnData,
   long nPointCount
);

Arguments:

Name Type Description
hEntity Handle of the entity to set the clipping region.
lpRgnData Array of IGVectPoint3D structures containing the new clipping region data.
nPointCount Count of points in IGVectPoint3D array.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Remarks:

If clipping region already exists, it will be replaced with the new one.

©2012. Accusoft Corporation. All Rights Reserved.