Visual Basic (Declaration) | |
---|---|
Public Sub Write( _ ByVal outputFileName As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Write( string outputFileName ) |
Managed Extensions for C++ | |
---|---|
public: void Write( string* outputFileName ) |
C++/CLI | |
---|---|
public: void Write( String^ outputFileName ) |
Parameters
- outputFileName
- The name of the output file to be saved.
Refer to PdfCompressor example.
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 disk,
before calling the Dispose method. You must
call RasterCodecs.StartUp
before using this function.
For more information, refer to Creating a Compressed PDF File
.Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family