←Select platform

LockStreams Method

Summary

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

Syntax
C#
VB
C++
Java
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

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly