Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

WebClient Property (LoadDocumentOptions)






The .NET WebClient object to use when downloading or uploading data from a remote URL.
Syntax
public WebClient WebClient {get; set;}
'Declaration
 
Public Property WebClient As WebClient
'Usage
 
Dim instance As LoadDocumentOptions
Dim value As WebClient
 
instance.WebClient = value
 
value = instance.WebClient
public IURIConnecter getURIConnecter()
public void setURIConnecter(IURIConnecter value)
            
public:
property WebClient^ WebClient {
   WebClient^ get();
   void set (    WebClient^ value);
}

Property Value

The .NET WebClient object to use when downloading or uploading data from a remote URL. Default value is null.
Remarks

LEADTOOLS uses a WebClient object when downloading or uploading data from a remote URL. This object contain many options for handling the credentials and proxy settings. If this value is null, LEADTOOLS will create a new WebClient object with default options, use it for the operation and then disposes it.

If the operation requires custom settings for the credentials and proxy, or to subscribe to the WebClient events for debugging and logging purposes, then the user can create their own object and set it in this property. LEADTOOLS will then use this instance instead of creating a new one. In this mode, the user is responsible for disposing the object when it is no longer used.

Refer to Loading Documents using Leadtools.Documents for detailed information.

Example

For an example, refer to DocumentFactory.LoadFromFile or DocumentFactory.LoadFromUri.

Requirements

Target Platforms

See Also

Reference

LoadDocumentOptions Class
LoadDocumentOptions Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features