ImageGear for C and C++ on Windows v19.6 - Updated
IG_vect_drwng_set_transparency
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_set_transparency

The function enables or disables two-step drawing for correct display of transparency objects.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_drwng_set_transparency(
        HIG_VECT_DRWNG hDrwng,
        VECT_BOOL bEnable
);

Arguments:

Name Type Description
hDrwng HIG_VECT_DRWNG Handle to the Drawing.
bEnable VECT_BOOL Flag that enables or disables two-step drawing.

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 transparency is enabled, all non-transparent objects are drawn first.