Provides information about the specified Code Page: a descriptive string and the category of the Code Page.
Declaration:
|
Copy Code |
AT_ERRCOUNT ACCUAPI IG_REC_output_codepage_info_get(
LPCSTR pCodePageName,
LPSTR pDesc,
AT_INT nBuferLength,
enumIGRecOutCodePageType * pCodePageType
);
|
Arguments:
pCodePageName |
Name of the Code Page inquired. |
pDesc |
Pointer of a buffer to hold the Code Page descriptor information. |
nBuferLength |
Length of pDesc buffer. |
pCodePageType |
Pointer to enumIGRecOutCodePageType variable to hold Code Page category information. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
This function does not process image pixels.
Example:
|
Copy Code |
AT_ERRCOUNT ErrCount = 0;
LPSTR lpszDesc = 0;
AT_INT iDescLen = 1024;
enumIGRecOutCodePageType eCodePageType = IG_REC_CODEPAGE_UNKNOWN;
lpszDesc = (LPSTR) malloc(iDescLen);
ErrCount += IG_REC_output_codepage_info_get("Windows ANSI", lpszDesc, iDescLen, &eCodePageType);
free(lpszDesc);
|