ImageGear Professional v18.2 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Viewport Functions > IG_vect_viewport_get_boundary |
This function gets an entity that bounds the viewport.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_viewport_get_boundary( HIG_VECT_ENTITY hEntity, HIG_VECT_ENTITY* lpBoundary ); |
Name | Type | Description |
hEntity | HIG_VECT_ENTITY | Handle to the Entity. |
lpBoundary | HIG_VECT_ENTITY* | Buffer for the boundary handle. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None
This entity can be a rectangle, polyline, ellipse, etc. If the boundary is not set, the Viewport is bounded by a square.