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

Show in webframe

SaveToUri Method






Target URL. This cannot be null.
Options to use when saving the document. If this is null, then the document will be saved using default options.
Exports this document to the specified remote URL using the specified format.
Syntax
public void SaveToUri( 
   Uri uri,
   SaveDocumentOptions options
)
'Declaration
 
Public Sub SaveToUri( _
   ByVal uri As Uri, _
   ByVal options As SaveDocumentOptions _
) 
'Usage
 
Dim instance As Document
Dim uri As Uri
Dim options As SaveDocumentOptions
 
instance.SaveToUri(uri, options)
public void saveToUri(URI uri, SaveDocumentOptions options)
            
public:
void SaveToUri( 
   Uri^ uri,
   SaveDocumentOptions^ options
) 

Parameters

uri
Target URL. This cannot be null.
options
Options to use when saving the document. If this is null, then the document will be saved using default options.
Remarks

Use SaveToFile or SaveToUri to export this document to an external file or remote URL.

These methods support saving the document to a raster image format, not a document. In most cases, converting a document should be performed with more options and control using the DocumentConverter class.

The document will be saved with the latest changed if it has been modified, for example, if the original file has 4 pages and the user deleted page number 1, then the saved file will contain 3 pages. Similarly, if the user called SetImage to replace the raster image for any of the pages, then the saved file will contain the new version for this page.

SaveDocumentOptions is used as follows:

Member Description
Format

Any of the LEADTOOLS supported RasterImageFormat values can be used.

If this value is the default (RasterImageFormat.Unknown), then this document will be saved using the format of the original document.

BitsPerPixel

Bits per pixel value to use. Use 0 for the default value supported by Format.

AnnotationsUri

If not null, then it should contain the path to where the annotations file will be saved.

WebClient

The .NET WebClient object to use when uploading the data to the remote URL.

Only used with SaveToUri.

Requirements

Target Platforms

See Also

Reference

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