←Select platform

LockStreams Method

Summary

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

Syntax
C#
C++/CLI
Java
Python
public void LockStreams() 
public:  
   void LockStreams() 
public void lockStreams() 
def LockStreams(self): 
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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.