Type: Integer
Returns an integer indicating whether the user has the Adobe Acrobat 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_acrobat"
bhObj.GetExtPropertiesEx
%>
<html>Acrobat is:
<%
ab = bhObj.Plugin_Acrobat
if ab = -1 then
PropVal = "Not detectable"
elseif ab = 0 then
PropVal = "Not installed"
else
Propval = "Installed"
end if
response.write PropVal
%>
</html>
Special notes for this property:
Not all browsers are capable of having their plug-ins detected. If this is the case the return value will be -1.
If the user’s JavaScript is disabled this property will not be available.
When checking for this plug-in, some users of Internet Explorer with Acrobat 4 will see the Acrobat splash screen displayed briefly. This is an unfortunate side effect that cannot be worked around. This does not occur with Acrobat versions 5 and higher.
See Also: