Unembed the image elements inside the SVG.
Object.defineProperty(DocumentImages.prototype, 'unembedSvgImages',
get: function(),
set: function(value)
)
unembedSvgImages: boolean;
true to unembed the image elements inside the SVG; otherwise, false. Default value is false.
The DocumentPage.GetSvgUrl method is used get a page as an SVG document. When the value of UnembedSvgImages is
false (the default), the result SVG will be self-contained with no references to any external resources. For example, all the
<image>
elements inside the SVG will be in a data URI format with the image pixel data embedded as a base 64 string.
If the value of UnembedSvgImages is true, then the engine will extract the pixel data of the embedded images from the SVG document, save them to the cache and replace them with a URL. This requires the cache system to be setup with a virtual directory otherwise an error will occur.
UnembedSvgImages should not be used if DocumentGetSvgOptions.DropImages is used along with DocumentPage.GetSvgBackImageUrl to return the images portion of the page separately than the main SVG.
The LEADTOOLS Document Viewer leaves this value to the default of false.
Products |
Support |
Feedback: unembedSvgImages Property (DocumentImages) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.