←Select platform

LeadStream Constructor(Stream,bool)

Summary

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

Syntax
C#
VB
public LeadStream( 
   Stream stream, 
   bool disposeStream 
) 
Public Sub New(ByVal stream As Stream, ByVal disposeStream As Boolean) 
 MyBase.New 

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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly