L_CanLoadSvgMemory

#include "l_bitmap.h"

L_LTFIL_API L_INT L_CanLoadSvgMemory(pBuffer, pbSupported, nBufferSize, pLoadOptions, pFileInfo)

L_UCHAR *pBuffer; pointer to the file in memory to be checked
L_BOOL *pbSupported; pointer to a variable
L_SSIZE_T nBufferSize; size of the file in memory (in bytes)
pLOADFILEOPTION pLoadOptions; pointer to extended load options
pFILEINFO pFileInfo; pointer to a structure

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

Parameter Description
pBuffer Pointer to the file in memory to be checked.
pbSupported Pointer to a variable to be updated. TRUE if the specified image, document or vector file can be loaded as SVG; otherwise, FALSE.
nBufferSize Size of the file in memory (in bytes).
pLoadOptions Pointer to extended load options.
pFileInfo Pointer to a FILEINFO structure. This structure can contain file information used in loading an image, or it can be updated with information about the file being loaded.

Returns

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

Comments

Support for SVG is only available in the Document and Medical Imaging toolkits.

Note: More options are available in the LOADFILEOPTION structure.

Use this function to determine whether the specified image, document, or vector file supports being loaded as an SVG (Scalable Vector Graphics) file. For more information refer to L_CanLoadSvg

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