Leadtools.PdfCompressor Namespace > PdfCompressorEngine Class > Write Method : Write(Stream) Method |
public void Write( Stream outputStream )
'Declaration Public Overloads Sub Write( _ ByVal outputStream As Stream _ )
'Usage Dim instance As PdfCompressorEngine Dim outputStream As Stream instance.Write(outputStream)
public: void Write( Stream^ outputStream )
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.