PrintQueueStream.SetLength Method (Int64)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Sets the length of the stream.

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)

public override void SetLength(
	long value


Type: System.Int64

The needed length, in bytes, of the current stream.

A stream must support both writing and seeking for SetLength to work.

Use the CanWrite property to determine whether the current instance supports writing, and use the CanSeek property to determine whether seeking is supported.

.NET Framework
Available since 3.0
Return to top