Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

viewport property

Gets or sets the current viewport.

Scalable Vector Graphics: Document Structure, Section 5.11.2Internet Explorer 9


HRESULT value = object.put_viewport(ISVGRect* viewportRect);HRESULT value = object.get_viewport(ISVGRect** pViewportRect);

Property values

Type: Object

The current viewport.

Standards information


Often, the current viewport is the nearest ancestor svg element. A value of NULL is returned if the given element is the outermost or furthest ancestor svg element.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.