#include "l_bitmap.h"
L_LTSVG_API L_INT L_SvgSaveDocumentMemory(docHandle, buffer, bufferSize, options)
Saves the specified SVG document to a file in memory.
Handle that holds the SVG document data.
Address of a pointer that will be allocated by this function and filled with the output SVG file in memory.
When this memory is no longer needed, you must free it using L_SvgFreeMemory.
Pointer to a variable that will be updated with the size of the output buffer allocated by this function.
Pointer to optional save options. Pass NULL to use the default save options.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To use this function, do the following:
This function will save the specified SVG document to the output file as a standard SVG document.
Support for SVG is only available in the Document and Medical Imaging toolkits.
When the memory allocated by this function is no longer needed, you must free it using L_SvgFreeMemory.
Required DLLs and Libraries
Win32, x64, Linux.