L_LTFIL_API L_INT L_CanLoadSvg2(pszFile, pbSupported, pLoadOptions, pFileInfo)
Determines whether the specified image, document or vector file can be loaded as an SVG file.
Character string containing the name of the image file to load.
Pointer to a variable to be updated. TRUE if the specified image, document or vector file can be loaded as SVG; otherwise, FALSE.
Pointer to extended load options.
Pointer to optional extended load options. Pass NULL to use the default load options.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Use this function to determine whether the specified image, document, or vector file supports being loaded as an SVG (Scalable Vector Graphics) file.
This is an optimized version of L_CanLoadSvg, and provides the same functionality and support, while using less memory.
Required DLLs and Libraries
Win32, x64, Linux.
For an example, refer to L_LoadSvg2.