Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.14
|
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.