viewportElement property
Gets the element that established the current viewport.
![]() ![]() |
Syntax
HRESULT value = object.put_viewportElement(ISVGElement* v);HRESULT value = object.get_viewportElement(ISVGElement** p);
Property values
Type: Object
The element, or null if the element is the outermost element.
Standards information
- Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.1
Remarks
The returned element is often the nearest ancestor svg element.
See also
Show:

