PdfMetadataExtractor Class
Provides the functionality to extract the metadata from PDF documents.
Inheritance Hierarchy
SystemObject
  GroupDocs.Parser.Extractors.MetadataMetadataExtractor
    GroupDocs.Parser.Extractors.MetadataPdfMetadataExtractor

Namespace: GroupDocs.Parser.Extractors.Metadata
Assembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 19.5
Syntax
public sealed class PdfMetadataExtractor : MetadataExtractor

The PdfMetadataExtractor type exposes the following members.

Constructors
  NameDescription
Public methodPdfMetadataExtractor
Initializes a new instance of the PdfMetadataExtractor class
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExtractMetadata(Stream)
Extracts the metadata from the stream.
(Inherited from MetadataExtractor.)
Public methodExtractMetadata(String)
Extracts the metadata from the fileName.
(Inherited from MetadataExtractor.)
Public methodExtractMetadata(Stream, LoadOptions)
Extracts the metadata from the stream.
(Inherited from MetadataExtractor.)
Public methodExtractMetadata(String, LoadOptions)
Extracts the metadata from the fileName.
(Inherited from MetadataExtractor.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Examples

Extracting the metadata:

C#
// Create a metadata extractor for PDFs
var metadataExtractor = new PdfMetadataExtractor();
// Extract a metadata from the stream
var metadata = metadataExtractor.ExtractMetadata(stream);
See Also