Click or drag to resize

PdfCompressor Class

The pdf document compressor.
Inheritance Hierarchy
System Object
Spire.Pdf.Conversion.Compression PdfCompressor

Namespace: Spire.Pdf.Conversion.Compression
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfCompressor

The PdfCompressor type exposes the following members.

Constructors
Name Description
Public method PdfCompressor(Stream)
Initializes a new instance of the class.
Public method PdfCompressor(String)
Construct a new converter.
Top
Properties
Name Description
Public property Options
The compression options.
Top
Methods
Name Description
Public method CompressToFile
Compress document.
Public method CompressToStream
Compress the document to the specified stream.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Public field m_options
The compression options.
Top
See Also