PDFViewCtrlDocTryLock Method (Int32) |
Tries to lock the PDFDoc instance used by PDFViewCtrl in non-blocking manner.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public bool DocTryLock(
int milliseconds
)
Public Function DocTryLock (
milliseconds As Integer
) As Boolean
public:
virtual bool DocTryLock(
[InAttribute] int milliseconds
) sealed
function DocTryLock(milliseconds);
Parameters
- milliseconds
- Type: SystemInt32
The maximum amount of time in milliseconds to wait for the lock to become available.
The default is 0.
Return Value
Type:
Booleantrue if the lock was successfully acquired, false otherwise
See Also