PDFViewCtrlDocTryLockRead Method (Int32) |
Tries to obtain a read lock for the PDFDoc instance used by PDFViewCtrl
for reading in non-blocking manner.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public bool DocTryLockRead(
int milliseconds
)
Public Function DocTryLockRead (
milliseconds As Integer
) As Boolean
public:
virtual bool DocTryLockRead(
[InAttribute] int milliseconds
) sealed
function DocTryLockRead(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