Click or drag to resize

PdfDocumentMetadataFromStream Method (Stream)

Constructs a new PdfDocumentMetadata object from the stream

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static PdfDocumentMetadata FromStream(
	Stream stm
)

Parameters

stm
Type: System.IOStream
A stream containing a PDF document

Return Value

Type: PdfDocumentMetadata
A new PdfDocumentMetadata object containing the fields from the PDF.
Remarks
Reads PDF document metadata from an existing PDF and returns a new PdfDocumentMetadata object populated with all the fields contained in the stream. If metadata fields are not present within the PDF, they will be null in the resulting PdfDocumentMetadata object.
See Also