Sets the string that separates the lines in the output document.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_converter_linebreak_set( LPCSTR lpszFormatName, LPAT_WCHAR lpwszLineBreak ); |
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. |
lpwszLineBreak | LPAT_WCHAR | String to be set as line break. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; AT_INT iLength = 0; AT_BOOL bCLBIsApplicable = FALSE; LPCSTR lpszFormatName = "Converters.Text.Csv"; LPAT_WCHAR lpwszLinebreak = L"This is the beginning of a paragraph"; ErrCount += IG_REC_output_format_set(lpszFormatName); ErrCount += IG_REC_converter_linebreak_is_applicable(lpszFormatName, &bCLBIsApplicable); if(bCLBIsApplicable) ErrCount += IG_REC_converter_linebreak_set(lpszFormatName, lpwszLinebreak); |
The function affects the following output formats:
The line break string can't be set if the corresponding output format has not been selected 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.