Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

UnembedSvgImages Property






Unembed the image elements inside the SVG.
Syntax
public bool UnembedSvgImages {get; set;}
'Declaration
 
Public Property UnembedSvgImages As Boolean
'Usage
 
Dim instance As DocumentImages
Dim value As Boolean
 
instance.UnembedSvgImages = value
 
value = instance.UnembedSvgImages
public boolean getUnembedSvgImages()
public void setUnembedSvgImages(boolean value)
            
public:
property bool UnembedSvgImages {
   bool get();
   void set (    bool value);
}

Property Value

true to unembed the image elements inside the SVG; otherwise, false. Default value is false.
Remarks

The DocumentPage.GetSvg 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 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.

Requirements

Target Platforms

See Also

Reference

DocumentImages Class
DocumentImages Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features