ImageGear for C and C++ on Windows v19.1 - Updated
IG_PDE_text_run_set_gstate
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_TEXT > IG_PDE_text_run_set_gstate

Sets the graphics state of a text run.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_text_run_set_gstate(
        HIG_PDE_TEXT hText,
        UINT nRunIndex,
        LPAT_PDE_GRAPHICSTATE lpGstate 
);

Arguments:

Name Type Description
hText HIG_PDE_TEXT Text object containing a text run.
nRunIndex UINT Index of the text run.
lpGstate LPAT_PDE_GRAPHICSTATE Pointer to AT_PDE_GRAPHICSTATE structure with graphics state to set.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.