Partager via


ISVGSVGElement interface

Provides the properties of the SVG root element.

Members

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

  • Methods
  • Properties

Methods

The ISVGSVGElement interface has these methods.

Method Description
ISVGSVGElement::animationsPaused

Gets a value that indicates whether this SVG document fragment is in a paused state.

ISVGSVGElement::checkEnclosure

Determines if the rendered content of the specified element is entirely contained within the specified rectangle.

ISVGSVGElement::checkIntersection

Determines if the rendered content of the specified element intersects the specified rectangle.

ISVGSVGElement::createSVGAngle

Creates a new ISVGAngle object that does not have units, that is set to 0 degrees, and that is not attached to any document.

ISVGSVGElement::createSVGLength

Creates a new ISVGLength object that has a length of 0 user units.

ISVGSVGElement::createSVGMatrix

Creates a new ISVGMatrix object that is set to the identity matrix and that is not attached to any document.

ISVGSVGElement::createSVGNumber

Creates a new ISVGNumber object that has a value of zero and that is not attached to any document.

ISVGSVGElement::createSVGPoint

Creates a new ISVGPoint object that is initialized to the point (0,0) in the user coordinate system and that is not attached to any document.

ISVGSVGElement::createSVGRect

Creates a new ISVGRect object that has all values set to 0 user units and that is not attached to any document.

ISVGSVGElement::createSVGTransform

Creates a new ISVGTransform object that is set to the identity matrix and that is not attached to any document.

ISVGSVGElement::deselectAll

Cancels the selection of any selected objects, including any selections of text strings and text boxes.

ISVGSVGElement::forceRedraw

Redraws all regions of the viewport that require updating.

ISVGSVGElement::getCurrentTime

Gets the current time, in seconds, relative to the start time for the current SVG document fragment.

ISVGSVGElement::getElementById

Gets the element that matches the specified ID from the SVG document or document fragment.

ISVGSVGElement::getEnclosureList

Gets the list of graphics elements whose rendered content is entirely contained within the specified rectangle.

ISVGSVGElement::getIntersectionList

Gets the list of graphics elements whose rendered content intersects the specified rectangle.

ISVGSVGElement::pauseAnimations

Pauses all currently running animations that are defined within the SVG document fragment that corresponds to this svg element.

ISVGSVGElement::setCurrentTime

Sets the new current time for this SVG document fragment.

ISVGSVGElement::suspendRedraw

Suspends redrawing a device for a specified duration.

ISVGSVGElement::unpauseAnimations

Resumes currently running animations that are defined within the SVG document fragment.

ISVGSVGElement::unsuspendRedraw

Cancels the specified suspension of redrawing operations.

ISVGSVGElement::unsuspendRedrawAll

Cancels all currently active suspensions of redrawing operations.

ISVGTransformList::createSVGTransformFromMatrix

Creates a matrix transform object whose values are given by the specified matrix.

 

Properties

The ISVGSVGElement interface has these properties.

Property Access type Description

ISVGSVGElement::contentScriptType

Read/write

Gets the default scripting language of the current document fragment.

ISVGSVGElement::contentStyleType

Read/write

Gets the default style sheet language of the current document.

ISVGSVGElement::currentScale

Read/write

Gets or sets the current scale factor, relative to the initial view (when this property is called from an outermost svg element.

ISVGSVGElement::currentTranslate

Read/write

Gets or sets the current translation factor, relative to the initial view (when this property is called from an outermost svg element).

ISVGSVGElement::currentView

Read/write

Not implemented.

ISVGSVGElement::pixelUnitToMillimeterX

Read/write

Gets or sets the size of a pixel unit along the x-axis of the viewport.

ISVGSVGElement::pixelUnitToMillimeterY

Read/write

Gets or sets the size of a pixel unit along the y-axis of the viewport.

ISVGSVGElement::screenPixelToMillimeterX

Read/write

Gets or sets the size of a screen pixel along the x-axis of the viewport.

ISVGSVGElement::screenPixelToMillimeterY

Read/write

Gets or sets the size of a screen pixel along the y-axis of the viewport.

ISVGSVGElement::useCurrentView

Read/write

Gets or sets a value that indicates whether the current innermost SVG document fragment is the standard view (that is, based on attributes of the svg element such as ISVGFitToViewBox::viewBox) or a custom view (that is, a hyperlink into a particular view or other element.

ISVGSVGElement::viewport

Read/write

Gets or sets the current viewport.

ISVGUseElement::height

Read/write

Gets or sets the height of an element.

ISVGUseElement::width

Read/write

Defines the width of an element.

ISVGUseElement::x

Read/write

Gets or sets the x-coordinate value.

ISVGUseElement::y

Read/write

Gets or sets the y-coordinate value.

 

Remarks

All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the ISVGSVGElement interface.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch