Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

nearestViewportElement property

Gets a value that indicates which element established the current viewport.

Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.23Internet Explorer 9



HRESULT value = object.get_nearestViewportElement(ISVGElement** p);

Property values

Type: Object

The element that created the current viewport (typically the nearest ancestor svg element). This parameter is NULL if the current element is the outermost svg element.

Standards information



Community Additions

© 2015 Microsoft