PrintQueueStream.SetLength Method (Int64)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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
Show: