PrintQueueStream::SetLength Method (Int64)

 

Sets the length of the stream.

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

public:
virtual void SetLength(
	long long value
) override

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: