ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDF_pref_set_allow_relaxed_syntax
API Reference Guide > PDF Component API Reference > PDF Component Functions Reference > IG_PDF_pref_set_allow_relaxed_syntax

Sets a value indicating whether or not to ignore some minor parsing errors that sometimes come up in PDF files.

Declaration:

Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_pref_set_allow_relaxed_syntax(
        AT_PDF_BOOL allowRelaxedSyntax
);

Arguments:

Name Type Description
allowRelaxedSyntax AT_PDF_BOOL TRUE means the relaxed syntax is enabled (minor parsing errors are ignored), FALSE means it's disabled.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.