SVGException class

This exception is raised when a specific SVG operation is impossible to perform.

public class SVGException : PlatformException


Name Description
SVGException(ushort) Initializes a new instance of the SVGException class.


Name Description
Code { get; } A code identifying the reason why the requested operation could not be performed. The value of this member will be one of the constants in the SVGException code group.


Name Description
const SVG_INVALID_VALUE_ERR Raised when an invalid value is passed to an operation or assigned to an attribute.
const SVG_MATRIX_NOT_INVERTABLE Raised when an attempt is made to invert a matrix that is not invertible.
const SVG_WRONG_TYPE_ERR Raised when an object of the wrong type is passed to an operation.

See Also