This function creates clipping region for the entity and copies specified region data there.
Declaration:
![]() |
|
---|---|
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.