The URI of the document.
A NameValueCollection object that contains the custom HTTP headers you need to add to the request.
The password required to open the document, 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
GdPicture14.WEB Namespace / DocuVieware Class / LoadFromURI Method / LoadFromURI(Uri,NameValueCollection,String,ICredentials,TokenImpersonationLevel) Method

LoadFromURI(Uri,NameValueCollection,String,ICredentials,TokenImpersonationLevel) Method

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

Parameters

Uri
The URI of the document.
CustomHeaders
A NameValueCollection object that contains the custom HTTP headers you need to add to the request.
Password
The password required to open the document, 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