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

Show in webframe

WebClient Property (SaveDocumentOptions)






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 SaveDocumentOptions
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.

Example

For an example, refer to Document.SaveToFile.

Requirements

Target Platforms

See Also

Reference

SaveDocumentOptions Class
SaveDocumentOptions 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