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.

Parameter

Description

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.

Returns

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

Comments

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

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.

Example

For an example, refer to L_SvgSortElements.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS SVG C API Help