HeaderedStreamLength Property Document Toolkit Help
When overridden in a derived class, gets the length in bytes of the stream.

Namespace: FirstFloor.Documents.IO
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public override long Length { get; }

Property Value

Type: Int64

Return Value

Type: Int64
A long value representing the length of the stream in bytes.
Exceptions

ExceptionCondition
NotSupportedExceptionA class derived from Stream does not support seeking.
ObjectDisposedExceptionMethods were called after the stream was closed.
See Also

Reference