L_CanLoadSvg2

#include "l_bitmap.h"

L_LTFIL_API L_INT L_CanLoadSvg2(pszFile, pbSupported, pLoadOptions, pFileInfo)

L_TCHAR *pszFile; file name
L_BOOL *pbSupported; pointer to variable to be updated
pLOADFILEOPTION pLoadOptions; pointer to extended load options
FILEINFO pFileInfo; pointer to a structure

Determines whether the specified image, document or vector file can be loaded as an SVG file.

Parameter Description
pszFile Character string containing the name of the image file to load.
pbSupported Pointer to a variable to be updated. TRUE if the specified image, document or vector file can be loaded as SVG; otherwise, FALSE.
pLoadOptions Pointer to extended load options.
pFileInfo Pointer to optional extended load options. Pass NULL to use the default load options.

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

LTSVG
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64, Linux.

Help Version 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS SVG C API Help