Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft