ImageGear for C and C++ on Linux v18.8 - Updated
IG_PDF_action_get_filename
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_ACTION > IG_PDF_action_get_filename

Gets a file name from an action.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_action_get_filename(
        HIG_PDF_ACTION hAction,
        LPSTR lpBuf,
        AT_INT nSize,
        LPAT_INT lpnLen
);

Arguments:

Name Type Description
hAction HIG_PDF_ACTION The action whose file name is obtained.
lpBuf LPSTR The buffer to return a file name.
nSize AT_INT Size of lpBuf.
lpnLen LPAT_INT Length of the file name.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Not all types of actions have file names; this function only works for actions that contain a file specification. See Section 8.5 in the PDF Reference for more information on the contents of various types of actions.