PdfDocumentMetadataFromStream Method (Stream, String) |
Note: This API is now obsolete.
Constructs a new PdfDocumentMetadata object from the stream, using the
supplied password
Reads PDF document metadata from an existing PDF and returns a new
PdfDocumentMetadata object populated with all the fields contained in the
stream.
Namespace:
Atalasoft.PdfDoc
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax [ObsoleteAttribute("This method is obsolete. Use FromStream(Stream stm, SecureString password) instead.",
false)]
public static PdfDocumentMetadata FromStream(
Stream stm,
string password
)
<ObsoleteAttribute("This method is obsolete. Use FromStream(Stream stm, SecureString password) instead.",
false)>
Public Shared Function FromStream (
stm As Stream,
password As String
) As PdfDocumentMetadata
Parameters
- stm
- Type: System.IOStream
A stream containing a PDF document
- password
- Type: SystemString
A password to use to decrypt the document
Return Value
Type:
PdfDocumentMetadata
A new PdfDocumentMetadata object containing the fields from the PDF.
Remarks
If metadata fields are not present within the PDF, they will be null in the
resulting PdfDocumentMetadata object.
See Also