DisplayPropertyPage Method
Description
Displays the property page in the window for users to set or get the property information.
ActiveX Edition | Plug-in Edition | Mac Edition |
---|---|---|
Since V8.0 | Since V8.0 | Not Supported |
Syntax
Boolean ObjectName. DisplayPropertyPage(Long hwndOwner)
Parameters
Boolean hwndOwner: window handle for displaying the property setting window.
Return value
Boolean.
TRUE indicates success. FALSE indicates failure.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
Remarks
Any nonnegative Long Integers are supported by hwndOwner. But the common way to set the hwndOwner is to call the CurrentHWND property directly.
See also
CurrentHWND property
Sample
A JavaScript sample is provided.
<script language="javascript"> function btnDisplayPropertyPage_onclick() { Webcam.DisplayPropertyPage(Webcam.CurrentHWND); } </script>
Copyright © 2012 Dynamsoft Corporation.All Rights Reserved.