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

viewBox property

Gets a value that indicates how a graphic scales to fit a container element.

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

Syntax

HRESULT value = object.get_viewBox(ISVGAnimatedRect** p);

Property values

Type: Object

A list of four numbers that specify the minimum x-coordinate, minimum y-coordinate, width, and height values of a rectangle. These values are separated by white space or a comma. The values define a rectangle in user space that is mapped to the bounds of the viewport that the element establishes, considering the element's ISVGFitToViewBox::preserveAspectRatio attribute.

Standards information

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.