←Select platform

Write(Stream) Method

Summary

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

Syntax
C#
C++/CLI
Python
public void Write( 
   Stream outputStream 
) 
public: 
void Write(  
   Stream^ outputStream 
)  
def Write(self,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 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.PdfCompressor Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.