Class SVGException

Class SVGException

Namespace: Aspose.Html.Dom.Svg
Assembly: Aspose.HTML.dll (25.2.0)

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

[DOMName("SVGException")]
[DOMObject]
[ComVisible(true)]
public class SVGException : PlatformException, ISerializable

Inheritance

objectExceptionPlatformExceptionSVGException

Implements

ISerializable

Inherited Members

Exception.GetBaseException(), Exception.ToString(), Exception.GetType(), Exception.TargetSite, Exception.Message, Exception.Data, Exception.InnerException, Exception.HelpLink, Exception.Source, Exception.HResult, Exception.StackTrace, Exception.SerializeObjectState, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

SVGException(ushort)

Initializes a new instance of the Aspose.Html.Dom.Svg.SVGException class.

public SVGException(ushort code)

Parameters

code ushort

The error code.

Fields

SVG_INVALID_VALUE_ERR

Raised when an invalid value is passed to an operation or assigned to an attribute.

[DOMName("SVG_INVALID_VALUE_ERR")]
public const ushort SVG_INVALID_VALUE_ERR = 1

Field Value

ushort

SVG_MATRIX_NOT_INVERTABLE

Raised when an attempt is made to invert a matrix that is not invertible.

[DOMName("SVG_MATRIX_NOT_INVERTABLE")]
public const ushort SVG_MATRIX_NOT_INVERTABLE = 2

Field Value

ushort

SVG_WRONG_TYPE_ERR

Raised when an object of the wrong type is passed to an operation.

[DOMName("SVG_WRONG_TYPE_ERR")]
public const ushort SVG_WRONG_TYPE_ERR = 0

Field Value

ushort

Properties

Code

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.

[DOMName("code")]
public ushort Code { get; }

Property Value

ushort

See Also

Exception