Unembed the image elements inside the SVG.
public bool UnembedSvgImages { get; set; }
Public Property UnembedSvgImages() As Boolean
Get
Set
public:
property bool UnembedSvgImages
{
bool get()
void set(bool value)
}
public boolean getUnembedSvgImages()
public void setUnembedSvgImages(boolean value)
true to unembed the image elements inside the SVG; otherwise, false. Default value is false.
The GetSvg 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 CodecsLoadSvgOptions.DropImages is used along with DocumentPage.GetSvgBackImage 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.
Note that setting this property to a value will update the same value in each child document.
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