viewport property
[This documentation is preliminary and is subject to change.]
Gets or sets the current viewport.
![]() ![]() |
Syntax
HRESULT value = object.put_viewport(ISVGRect* viewportRect);HRESULT value = object.get_viewport(ISVGRect** pViewportRect);
Property values
Type: Object
The current viewport.
Standards information
- Scalable Vector Graphics: Document Structure, Section 5.11.2
Remarks
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.
Build date: 1/26/2012
.png)
.png)