'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 GdPicture14.GdPictureStatus
public GdPicture14.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.