Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / Load Method / Load(Stream,String) Method
The System.IO.Stream object used for loading the document content.
The password used to open the document.

In This Topic
    Load(Stream,String) Method
    In This Topic
    Loads the current document from a specified intput stream, overwriting the current content of the document. The stream should contain valid PDF data, and must be kept open while reading or modifying the document. If the document is modified, it can be saved using the Save(String,Boolean) or Save(Stream,Boolean) method.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal password As System.String _
    ) 
    public void Load( 
       System.IO.Stream stream,
       System.string password
    )

    Parameters

    stream
    The System.IO.Stream object used for loading the document content.
    password
    The password used to open the document.
    See Also