Reference Guide
GdPicture14.WEB Namespace / DocuViewareControl Class / LoadFromUri Method
The URI of the document.
The password required to open the document, if any.
A NameValueCollection object that contains the custom HTTP headers you need to add to the request, if any.
An System.Net.ICredentials that contains the authentication credentials associated with the request, if any.
System.Security.Principal.TokenImpersonationLevel enumeration member specifying the impersonation level associated with the request.

In This Topic
    LoadFromUri Method (DocuViewareControl)
    In This Topic
    Displays document from an URI.
    Syntax
    'Declaration
     
    
    Public Function LoadFromUri( _
       ByVal Uri As Uri, _
       Optional ByVal Password As String, _
       Optional ByVal CustomHeaders As NameValueCollection, _
       Optional ByVal Credentials As ICredentials, _
       Optional ByVal ImpersonationLevel As TokenImpersonationLevel _
    ) As GdPictureStatus
    public GdPictureStatus LoadFromUri( 
       Uri Uri,
       string Password,
       NameValueCollection CustomHeaders,
       ICredentials Credentials,
       TokenImpersonationLevel ImpersonationLevel
    )

    Parameters

    Uri
    The URI of the document.
    Password
    The password required to open the document, if any.
    CustomHeaders
    A NameValueCollection object that contains the custom HTTP headers you need to add to the request, if any.
    Credentials
    An System.Net.ICredentials that contains the authentication credentials associated with the request, if any.
    ImpersonationLevel
    System.Security.Principal.TokenImpersonationLevel enumeration member specifying the impersonation level associated with the request.

    Return Value

    A member of the GdPictureStatus enumeration. If an error status is returned the GetLastTransferError method can be used to diagnose the problem.
    Remarks
    Supported formats are listed here: http://www.gdpicture.com/solutions/Supported-Formats.php.
    See Also