Write(Stream) Method

Summary

Writes the created file from memory to a .NET stream.

Syntax
C#
VB
C++
public void Write( 
   Stream outputStream 
) 
Public Overloads Sub Write( _ 
   ByVal outputStream As Stream _ 
)  

public: 
void Write(  
   Stream^ outputStream 
)  

Parameters

outputStream
The output stream to be saved.

Remarks

The PDF Compressor object normally creates the compressed PDF document file in memory. It can add as many pages as required to the file. Once the PDF file in memory is complete, call this method to write the file to a stream, before calling the Dispose method.

For more information, refer to Creating a Compressed PDF File.

Use Write(string) to write the result to a disk file.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.PdfCompressor Assembly