Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

bactrianus/groupdocs-conversion-net-sample

 
 

Repository files navigation

#GroupDocs.Conversion .NET Samples Alt text


This sample solution demonstrate the usage of [GroupDocs.Conversion for .NET library]( http://groupdocs.com/dot-net/document-conversion-library).

##How-to install/run

  1. Download sample sources to any directory.
  2. Open "GroupDocs.Conversion for .NET Sample.sln" with Visual Studio
  3. Rebuild and run sample project

##Project details and configuration

###GroupDocs.Conversion for .NET Sample

The sample demonstrate the following file conversions:

  • PDF to HTML
  • DOC to PDF
  • DOC to JPG
  • DOC to PNG with custom conversion options
  • DOC to BMP through PDF

###GroupDocs.Conversion.CustomInputDataHandler
This is an example of custom IInputDataHandler. It shows how to use Amazon S3 as file storage without using cache.

Configuration

  1. Open AmazonInputHandler.cs and change bucketName with your file input bucket name
    private static string bucketName = ""; //TODO: Put your input bucketname here
  2. Open App.config and set your Amazon access and secret keys
  <appSettings>
    <add key="AWSAccessKey" value=""/>
    <add key="AWSSecretKey" value="" />
  </appSettings>  

###GroupDocs.Conversion.CustomCacheDataHandler
This is an example of custom IInputDataHandler and ICacheDataHandler. It shows how to use Amazon S3 as file storage and cache storage.

Configuration

  1. Open AmazonInputHandler.cs and change bucketName with your file input bucket name
    private static string bucketName = ""; //TODO: Put your input bucketname here
  2. Open AmazonCacheDataHandler.cs and set your cache files bucket name
    private static string bucketName = ""; //TODO: Put your cache bucketname here
  3. Set your Amazon access and secret keys in App.config
  <appSettings>
    <add key="AWSAccessKey" value=""/>
    <add key="AWSSecretKey" value="" />
  </appSettings>  

Note

If you set a valid license please delete your cache.

About

GroupDocs.Conversion .NET Samples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%