Export (0) Print
Expand All

ISVGDocument interface

Represents an SVG document.

Members

The ISVGDocument interface inherits from the IDispatch interface. ISVGDocument also has these types of members:

Properties

The ISVGDocument interface has these properties.

PropertyAccess typeDescription

ISVGDocument::rootElement

Read-only

Gets the root svg element in the document hierarchy.

 

Remarks

When the root element of the XML document hierarchy is an svg element, such as when you view a standalone SVG file, an SVGDocument object exists.

When an svg element is embedded inline as a component of a document from another namespace, such as when it is embedded within an XHTML document, an SVGDocument object does not exist. Instead, the root object in the document object hierarchy is a document object of a different type, such as an HTMLDocument object.

When an SVG document is embedded by reference, such as when an XHTML document has an OBJECT element whose href attribute references an SVG document, there are two distinct DOM hierarchies:

  • The first DOM hierarchy is for the referencing document (for example, an XHTML document).
  • The second DOM hierarchy is for the referenced SVG document, and the root object of the document object model hierarchy is an SVGDocument object.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft