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

Show in webframe

SvgDataUri Class






Members 
Represents a data URI object.
Object Model
Syntax
public class SvgDataUri 
'Declaration
 
Public Class SvgDataUri 
'Usage
 
Dim instance As SvgDataUri
@interface LTSvgDataUri : NSObject
public class SvgDataUri
public ref class SvgDataUri 
Remarks

SvgDataUri is a class that handles the data URI uniform resource identifier (URI) scheme for including data in-line in SVG files. The syntax for Data URI is:


            data:[<media type>][;charset=<character set>][;base64],<data>
            

Refer to https://en.wikipedia.org/wiki/Data_URI_scheme for more information.

In SVG files, an image element comes in the following form:


            <image x="x-position" y="y-position" width="width-value" height="height-value" xlink:href="image-data" />
            

Where x-position, y-position, width-value and height-value are the optional location and size of the image inside the SVG.

image-data can have one of the following formats:

Refer to http://www.w3.org/TR/SVG for more information about the SVG image element.

When an SVG document is flattened, all image elements will be embedded in the SVG as data URI elements. This allows the SVG file to be self-contained and passed from a server to a client without relying on any external resources.

Extracting data from a data URI or constructing a new one from raw image data is not supported by the .NET framework directly and the SvgDataUri class contains functionality that allows the user to:

Example

For an example, refer to SvgDocument.EnumerateElements

Requirements

Target Platforms

See Also

Reference

SvgDataUri Members
Leadtools.Svg Namespace

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