VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf Namespace / PdfDocumentController Class / OpenDocument(Stream) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    OpenDocument(Stream) Method (PdfDocumentController)
    In This Topic
    Opens the PDF document from specified stream.
    Syntax
    'Declaration
    
    Public Shared Function OpenDocument( _
    ByVal stream
    Stream with data of PDF document.
    As System.IO.Stream _
    ) As PdfDocument
    public static PdfDocument OpenDocument(
    System.IO.Stream stream
    )
    public: static PdfDocument* OpenDocument(
    System.IO.Stream* stream
    )
    public:
    static PdfDocument^ OpenDocument(
    System.IO.Stream^ stream
    )

    Parameters

    stream
    Stream with data of PDF document.

    Return Value

    PdfDocument associated with the specified file.
    Remarks

    Document manager opens file in read-write mode.

    Important: Each PdfDocument returned by this method must be closed with the CloseDocument(PdfDocument) method.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also