Property CurrentScale
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Model.dll
CurrentScale
This attribute indicates the current scale factor relative to the initial view to take into account user magnification and panning operations, as described under Magnification and panning. DOM attributes currentScale and currentTranslate are equivalent to the 2x3 matrix [a b c d e f] = [currentScale 0 0 currentScale currentTranslate.x currentTranslate.y]. If "magnification" is enabled (i.e., zoomAndPan="magnify"), then the effect is as if an extra transformation were placed at the outermost level on the SVG document fragment (i.e., outside the outermost 'svg' element).
public float CurrentScale { get; set; }
Property Value
Exceptions
- DomException
NO_MODIFICATION_ALLOWED_ERR:
Raised on an attempt to change the value of a readonly attribute