ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_viewport_get_boundary
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.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_viewport_get_boundary(
        HIG_VECT_ENTITY hEntity, 
        HIG_VECT_ENTITY* lpBoundary
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
lpBoundary HIG_VECT_ENTITY* Buffer for the boundary handle.

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:

This entity can be a rectangle, polyline, ellipse, etc. If the boundary is not set, the Viewport is bounded by a square.