Expand Minimize

hasExtension method

Determines if the specified extension is supported.

Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.25Internet Explorer 9

Syntax

object.hasExtension(extension)

Parameters

extension [in]

Type: String

A URI string that specifies the extension.

Return value

Type: Boolean

true if the specified extension is supported; otherwise, false.

Standards information

See also

SVGAElement
SVGCircleElement
SVGClipPathElement
SVGDefsElement
SVGEllipseElement
SVGGElement
SVGImageElement
SVGLineElement
SVGMaskElement
SVGPathElement
SVGPatternElement
SVGPolygonElement
SVGPolylineElement
SVGRectElement
SVGSVGElement
SVGSwitchElement
SVGTextContentElement
SVGTextElement
SVGTextPathElement
SVGTextPositioningElement
SVGTSpanElement
SVGUseElement

 

 

Show:
© 2014 Microsoft