ImageGear Professional v18.4 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Converter Settings Functions > IG_REC_converter_pagebreak_length_get |
Returns the length of the current string that separates pages in the output document.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_converter_pagebreak_length_get( LPCSTR lpszFormatName, LPAT_INT lpLength ); |
Name | Type | Description |
lpszFormatName | LPCSTR | Symbolic name of the output format like Converters.Text.Cvs. See IG_REC_output_format_set for more info about format names. |
lpLength | LPAT_INT | Length of the current unicode page break string, not including the terminating zero. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; AT_INT iLength = 0; AT_BOOL bCPBIsApplicable = FALSE; LPCSTR lpszFormatName = "Converters.Text.Csv"; ErrCount += IG_REC_output_format_set(lpszFormatName); ErrCount += IG_REC_converter_pagebreak_is_applicable(lpszFormatName, &bCPBIsApplicable); if(bCPBIsApplicable) ErrCount += IG_REC_converter_pagebreak_length_get(lpszFormatName, &iLength); |
The page break can't be retrieved if the corresponding output format has not been set with IG_REC_output_format_set at least once. In this case the function returns a non-zero value and appends IGE_REC_CONVERTER_NOT_INITIALIZED error code to the error stack.