GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfFilter Class

    Namespace:
    GemBox.Pdf.Filters
    Assembly:
    GemBox.Pdf.dll

    Represents a base class for all PDF filters used to encode and decode the sequence of bytes.

    • C#
    • VB.NET
    public abstract class PdfFilter
    Public MustInherit Class PdfFilter
    Inheritance:
    System.Object
    PdfFilter
    Derived
    PdfCCITTFaxDecodeFilter
    PdfCryptFilter
    PdfDCTDecodeFilter
    PdfFlateDecodeFilter
    PdfJBIG2DecodeFilter
    PdfLZWDecodeFilter
    PdfUnknownFilter

    Properties

    FilterType

    Gets the PdfFilterType of the current PdfFilter instance.

    • C#
    • VB.NET
    public abstract PdfFilterType FilterType { get; }
    Public MustOverride ReadOnly Property FilterType As PdfFilterType
    Property Value
    PdfFilterType

    The PdfFilterType of the current PdfFilter instance.

    Methods

    Equals(Object)

    Determines whether the specified System.Object is equal to this PdfFilter instance.

    • C#
    • VB.NET
    public sealed override bool Equals(object obj)
    Public NotOverridable Overrides Function Equals(obj As Object) As Boolean
    Parameters
    obj
    System.Object

    The System.Object to compare with this PdfFilter instance.

    Returns
    System.Boolean

    true if the specified System.Object is equal to this PdfFilter instance; otherwise, false.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this PdfFilter instance.

    • C#
    • VB.NET
    public sealed override int GetHashCode()
    Public NotOverridable Overrides Function GetHashCode As Integer
    Returns
    System.Int32

    A hash code for this PdfFilter instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    System.Object.GetHashCode()

    ToString()

    Returns a System.String that represents this PdfFilter instance.

    • C#
    • VB.NET
    public sealed override string ToString()
    Public NotOverridable Overrides Function ToString As String
    Returns
    System.String

    A System.String that represents this PdfFilter instance.

    Overrides
    System.Object.ToString()
    Remarks

    This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).

    Examples

    Content Stream example

    See Also

    PDF Specification ISO 32000-1:2008, section '7.4 Filters'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.