-
Notifications
You must be signed in to change notification settings - Fork 1
Vuzit_Document_DownloadUrl
bmatzelle edited this page Sep 13, 2010
·
1 revision
Returns the URL for the file for downloading.
- public static DownloadUrl(string id, string fileExtension)
- string id : ID of the document to delete.
- string fileExtension : File extension of the document like “pdf”, “doc”, “ppt”, etc.
Downloads the Word 2003 version of a document.
string url = Vuzit.Document.DownloadUrl("DOCUMENT_ID", "doc");
Console.WriteLine("<a href=\"" + url + "\">Link to the Word document</a>");
Downloads the PDF version of the same document.
string url = Vuzit.Document.DownloadUrl("DOCUMENT_ID", "pdf");
Console.WriteLine("<a href=\"" + url + "\">Link to the PDF document</a>");