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

Returns 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_get_allow_relaxed_syntax(
        LPAT_PDF_BOOL lpAllowRelaxedSyntax
);

Arguments:

Name Type Description
lpAllowRelaxedSyntax LPAT_PDF_BOOL Pointer to the returned value. 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.