VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Utils Namespace / StreamWrapper Class / StreamWrapper Constructors / StreamWrapper Constructor(Stream,Int64,Int64,Boolean)
Syntax Exceptions Requirements SeeAlso
In This Topic
StreamWrapper Constructor(Stream,Int64,Int64,Boolean)
In This Topic
Initializes a new instance of the StreamWrapper class.
Syntax
'Declaration

Public Function New( _
ByVal sourceStream
The source stream.
As System.IO.Stream, _
ByVal length
The length, in bytes, of this stream wrapper.
As Long, _
ByVal offset
The offset of this stream wrapper in source stream.
As Long, _
ByVal closeSourceStreamAfterUse
A value indicating whether the sourceStream must be closed after use.
As Boolean _
)

Parameters

sourceStream
The source stream.
length
The length, in bytes, of this stream wrapper.
offset
The offset of this stream wrapper in source stream.
closeSourceStreamAfterUse
A value indicating whether the sourceStream must be closed after use.
Exceptions
ExceptionDescription
Thrown if sourceStream is null.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also