L_SvgSortElementsCallback Function

#include "l_bitmap.h"

L_INT pEXT_CALLBACK YourFunction(flatDocHandle, info, userData)

const L_SvgNodeHandle flatDocHandle;

SVG document handle

const L_SvgElementInfo* info;

element information

L_VOID* userData;

pointer to additional data

Processes each SVG elment from the L_SvgSortElements function.



flatDocHandle Handle of the source SVG document.
info Pointer to structure that contains information about the svg element.
userData Void pointer that you can use to access a variable or structure containing data that your callback function needs. This gives you a way to receive data indirectly from the function that uses this callback function. This is the same pointer that you pass in the pUserData parameter of the L_SvgSortElements function. Keep in mind that this is a void pointer, which must be cast to the appropriate data type within your callback function.


TRUE Continue to the next element, if any.
FALSE Stop enumerating.


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

For more information on flat SVG documents and bounds and resolution, refer to SVG Size, Bounds and Flat.

Required DLLs and Libraries

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


For an example, refer to L_SvgSortElements.

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