ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_viewport_set_content
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Viewport Functions > IG_vect_viewport_set_content

This function sets an entity being mapped; usually this is a block containing some other entities.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_viewport_set_content(
        HIG_VECT_ENTITY hEntity, 
        HIG_VECT_ENTITY hContent
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
hContent HIG_VECT_ENTITY Handle of the entity being set as Viewport content.

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