currentTranslate property
Gets or sets the current translation factor, relative to the initial view (when this property is called from an outermost svg element).
Syntax
HRESULT value = object.put_currentTranslate(ISVGPoint* v);HRESULT value = object.get_currentTranslate(ISVGPoint** p);
Property values
Type: Object
The current translation factor, relative to the initial view.
Standards information
- Scalable Vector Graphics: Document Structure, Section 5.11.2
Remarks
The outermost svg element is the furthest ancestor svg element in the current document fragment.
When the ISVGSVGElement::currentTranslate property is called on an element other than the outermost svg element, this property's behavior is undefined.
This property considers user magnification.