←Select platform

LeadStream Constructor(Stream,bool)

Summary

Initializes a new instance of LeadStream from a .NET System.IO.Stream object.

Syntax
C#
Python
public LeadStream( 
   Stream stream, 
   bool disposeStream 
) 
__init__(self, stream, disposeStream) # Overloaded constructor  

Parameters

stream

.NET System.IO.Stream object to be used with this LeadStream

disposeStream

true if stream should be disposed when this LeadStream disposes; otherwise, false.

Remarks

The helper method LeadStream-Factory-FromStream can be used to quickly create a LeadStream object from a .NET System.IO.Stream.

Refer to RasterCodecs Async Operations for more information and examples.

Requirements

For .NET Framework: A reference to the Leadtools.Async.dll assembly is required to use this functionality.

For .NET Standard: This functionality is included in the Leadtools.dll assembly.

Target Platforms

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

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