Click or drag to resize

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
)

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: Boolean
true if the lock was successfully acquired, false otherwise
See Also