Sort Score
Result 10 results
Languages All
Labels All
Results 421 - 430 of 1,066 for

sample code

(0.08 sec)
  1. Convert and download document | Documentation

    GroupDocs.Viewer Cloud API enables you to to render documents using single API call, passing input file in the request body, and getting result file stream in the response. This example demonstrates how to render document without using cloud storage. Method parameters: Name Type Description Comment format string Requested conversion format: HTML, JPG, PNG or PDF Required. File binary Input file to convert Form data, Required pages string Pages range to render, like “1,2” or “3-5,10” Default value : all pages password string Input document password Required for password-protected documents....--data-binary "@path\to\file" Response Code 200 <binary file> SDK examples...Open ( "Resources/SampleFiles/sample.docx" ) if err != nil { fmt...

    docs.groupdocs.cloud/viewer/convert-and-download/
  2. Remove Watermarks | Documentation

    This REST API allows removing watermarks from the document. The operation performs a search for possible watermarks and then removes them. The API supports a rich set of search criteria that allows finding images and texts that may be possible watermarks. There are two popular scenarios to use the Remove operation: Remove particular watermarks found by search criteria. With this scenario Two operations are used: Search and Remove: You define the search criteria set; You first use Search operation with the designed criteria and get the response with search results; You can analyze the response and choose those watermarks that should be deleted; You then call Remove operation with the same set of search criteria; You also provide RemoveIds array with IDs of found watermarks; Then watermarks with passed IDs will be removed Remove all found watermarks...."FilePath": "with_watermarks\\sample.pdf" }, "OutputFolder": "removed_watermarks"..."FilePath": "watermark_images\\sample_watermark.png", "StorageName":...

    docs.groupdocs.cloud/watermark/remove-watermarks/
  3. 5. Convert PDF Document with Load Options | Doc...

    This example demonstrates how to convert pdf documents into wordprocessing documents with load options. There are steps that usage of GroupDocs.Conversion Cloud consists of: Upload input document into cloud storage Convert document Download converted document from storage Steps 1 and 3 are storage operations, please refer to this GroupDocs.Conversion Cloud documentation for usage details. Step 3 is not needed if the “OutputPath” option is not provided: the convert API method will return the converted document in the response body...." \ -d '{ "FilePath": "Pdf/sample.pdf", "Format": "docx", "LoadOptions":...$env:JWT_TOKEN" ` -d "{ 'FilePath': 'Pdf/sample.pdf', 'Format': 'docx', 'LoadOptions':...

    docs.groupdocs.cloud/conversion/convert-pdf-doc...
  4. 2. Convert CSV Document with Load Options | Doc...

    This example demonstrates how to convert the CSV documents into pdf documents with load options. There are steps that usage of GroupDocs.Conversion Cloud consists of: Upload input document into cloud storage Convert document Download converted document from storage Steps 1 and 3 are storage operations, please refer to this GroupDocs.Conversion Cloud documentation for usage details. Step 3 is not needed if the “OutputPath” option is not provided: the convert API method will return the converted document in the response body....'{ "FilePath": "Spreadsheet/sample.csv", "Format": "pdf", "LoadOptions":..."{ 'FilePath': 'Spreadsheet/sample.csv', 'Format': 'pdf', 'LoadOptions':...

    docs.groupdocs.cloud/conversion/convert-csv-doc...
  5. Search Watermarks | Documentation

    This REST API allows finding watermarks in the document. The API supports a rich set of search criteria that allows finding images and texts that may be possible watermarks. The Search operation response contains not only watermark properties, but also IDs that can be used in Remove operation. The table below contains the full list of properties. Name Description Comment FileInfo.FilePath The path of the document, located in the storage Required FileInfo...."FilePath": "with_watermarks\\sample.pdf" }, "OutputFolder": "f..."FilePath": "watermark_images\\sample_watermark.png" } } }' Windows...

    docs.groupdocs.cloud/watermark/search-watermarks/
  6. 11. Convert nsf storage to eml documents | Docu...

    This example demonstrates how to convert nsf storage into set of eml documents with load options. There are steps that usage of GroupDocs.Conversion Cloud consists of: Upload input document into cloud storage Convert document Download converted document from storage Steps 1 and 3 are storage operations, please refer to this GroupDocs.Conversion Cloud documentation for usage details. Step 3 is not needed if the “OutputPath” option is not provided: the convert API method will return the converted document in the response body....$JWT_TOKEN " \ -d '{ "FilePath": "sample.nsf", "Format": "eml", "LoadOptions":...$env:JWT_TOKEN" ` -d "{ 'FilePath': 'sample.nsf', 'Format': 'eml', 'LoadOptions':...

    docs.groupdocs.cloud/conversion/convert-nsf-doc...
  7. Flip/rotate pages | Documentation

    The GroupDocs.Viewer Cloud enables you to rotate individual pages when viewing documents in HTML/PDF/JPG/PNG formats. To flip/rotate pages use the PageRotations property of ViewOptions class. There are three options that you can pass: On90Degree - instructs to rotate page on 90-degree clockwise; On180Degree - instructs to rotate page on 180-degree clockwise; On270Degree - instructs to rotate page on 270-degree clockwise; The following Code snippet shows how to rotate output pages when viewing a document as PDF...270-degree clockwise; The following code snippet shows how to rotate...{ "FilePath": "SampleFiles/sample.docx" }, "ViewFormat": "PDF"...

    docs.groupdocs.cloud/viewer/fliprotate-pages/
  8. 3. Convert Email Document with Load Options | D...

    This example demonstrates how to convert email documents into pdf documents with load options. There are steps that usage of GroupDocs.Conversion Cloud consists of: Upload input document into cloud storage Convert document Download converted document from storage Steps 1 and 3 are storage operations, please refer to this GroupDocs.Conversion Cloud documentation for usage details. Step 3 is not needed if the “OutputPath” option is not provided: the convert API method will return the converted document in the response body....\ -d '{ "FilePath": "Email/sample.msg", "Format": "pdf", "LoadOptions":...` -d "{ 'FilePath': 'Email/sample.msg', 'Format': 'pdf', 'LoadOptions':...

    docs.groupdocs.cloud/conversion/convert-email-d...
  9. 8. Convert TXT Document with Load Options | Doc...

    This example demonstrates how to convert txt documents into pdf documents with load options. There are steps that usage of GroupDocs.Conversion Cloud consists of: Upload input document into cloud storage Convert document Download converted document from storage Steps 1 and 3 are storage operations, please refer to this GroupDocs.Conversion Cloud documentation for usage details. Step 3 is not needed if the “OutputPath” option is not provided: the convert API method will return the converted document in the response body...." \ -d '{ "FilePath": "Text/sample.txt", "Format": "pdf", "LoadOptions":...$env:JWT_TOKEN" ` -d "{ 'FilePath': 'Text/sample.txt', 'Format': 'pdf', 'LoadOptions':...

    docs.groupdocs.cloud/conversion/convert-txt-doc...
  10. Adjust image quality | Documentation

    GroupDocs.Viewer Cloud enables you to adjust quality of output images contained by the source PDF document. To adjust image quality use PdfOptions.ImageQuality option. PdfOptions.ImageQuality can be set to: Low - The acceptable quality, best performance and least size of the output image. Medium - Better quality and slower performance. High - Best quality but slow performance. NOTE: this option is supported when rendering to HTML only. Following Code snippet shows how to adjust image quality when rendering to HTML.... Following code snippet shows how to adjust...{ "FilePath": "SampleFiles/sample.pdf" }, "ViewFormat": "HTML"...

    docs.groupdocs.cloud/viewer/adjust-image-quality/