←Select platform

LockStreams Method (Document)

Summary

Lock the document and annotation streams to be used by the current thread only.

Syntax

C#
VB
Java
C++
public void LockStreams()
Public Sub LockStreams()
public:  
   void LockStreams() 
public void lockStreams()

Remarks

The stream returned from this method is the same used by the various parts of the object when loading the pages and should not be disposed by the user. To ensure thread safety, always use the LockStreams before trying to use the stream and UnlockStreams when done to coordinate the use of this stream between user application and the document object.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents Assembly
Click or drag to resize