Click or drag to resize

PdfCodecCompression Class

PdfCodecCompression is a container class that encapsulates compression settings for a PDF image.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.CodecCodecCompression
    Atalasoft.Imaging.Codec.PdfPdfCodecCompression

Namespace:  Atalasoft.Imaging.Codec.Pdf
Assembly:  Atalasoft.dotImage.Pdf (in Atalasoft.dotImage.Pdf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class PdfCodecCompression : CodecCompression

The PdfCodecCompression type exposes the following members.

Constructors
  NameDescription
Public methodPdfCodecCompression(PdfCompressionType)
Constructs a new PdfCodecCompression object with the specified PdfCompressionType.
Public methodPdfCodecCompression(PdfCompressionType, Double)
Constructs a new PdfCodecCompression object with the specified PdfCompressionType and default Jpeg2000 compression factor.
Public methodPdfCodecCompression(PdfCompressionType, Int32)
Constructs a new PdfCodecCompression object with the specified PdfCompressionType and default quality.
Top
Properties
  NameDescription
Public propertyCompression
Gets a value representing one of the standard PDF compression values.
Public propertyJpeg2000CompressionFactor
Gets or sets a value representing the compression factor to use for Jpeg2000 compression.
Public propertyJpegQuality
Gets or sets the quality level of the Jpeg as it's encoded to a file. Valid values are 1 - 100 with a default value of 80.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This container class is passed via the SetEncoderCompression event. Clients of the event can retrieve the compression settings for an image being compressed by a MultiFramedImageEncoder and can change them on the fly if needed.
See Also