Plugin_SVGViewer Property

 

Type: Integer

 

Returns an integer indicating whether the user has the Adobe SVG image viewer plug-in installed. The returned value will be one of the following:

0: The plug-in is not installed

1: The plug-in is installed

-1: It is not possible to detect if the plug-in is installed

 

Note: You must call the GetExtPropertiesEx method before checking the value of this property. This property requires either the Professional or Enterprise Edition of BrowserHawk.

 

Tip: See the extproperties.asp example located in your BrowserHawk directory for detailed information and examples on using this property.

 

Example:

<% set bhObj = Server.CreateObject("cyScape.browserObj")

bhObj.SetExtProperties "plugin_svgviewer"

bhObj.GetExtPropertiesEx

%>

<html>Adbove SVG Viewer is:

<%

svg = bhObj.Plugin_SVGViewer

if svg = -1 then

PropVal = "Not detectable"

elseif svg = 0 then

PropVal = "Not installed"

else

PropVal = "Installed"

end if

response.write PropVal

%>

</html>

 

Special notes for this property:

 

See Also:

GetExtPropertiesEx Method

SetExtProperties Method