Click or drag to resize

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
)

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