SVGTransform.SetScale
SVGTransform.SetScale method
Sets the transform type to SVG_TRANSFORM_SCALE, with parameters sx and sy defining the scale amounts.
public void SetScale(float sx, float sy)
| Parameter | Type | Description |
|---|---|---|
| sx | Single | The scale amount in X. |
| sy | Single | The scale amount in Y. |
Exceptions
| exception | condition |
|---|---|
| DOMException | Code NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. |
See Also
- class SVGTransform
- namespace Aspose.Html.Dom.Svg.DataTypes
- assembly Aspose.HTML