ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_output_format_get
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Output Functions > IG_REC_output_format_get

Glossary Item Box

Returns the output format being used for IG_REC_document_write.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_output_format_get(
   LPSTR lpszFormatName,
   AT_INT nBufferLengthen
);

Arguments:

lpszFormatName Buffer to receive the output format name.
nBufferLengthen Length of the buffer.

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.

Remarks:

Maximal length of the format name is AM_MAX_OUTPUT_FORMAT_NAME_LEN.

Example:

  Copy Code
AT_ERRCOUNT ErrCount = 0;
char *lpszFormatName = malloc(AM_MAX_OUTPUT_FORMAT_NAME_LEN);
ErrCount = IG_REC_output_format_get(lpszFormatName, AM_MAX_OUTPUT_FORMAT_NAME_LEN);

//...

free(lpszFormatName);

©2012. Accusoft Corporation. All Rights Reserved.