XDoc.Converter
Features
Tech Specs
How-to C#
Pricing

C# Document Converter Library
C#: How to Install, Deploy and Distribute XDoc.Converter


Tell Users How to Install RasterEdge XDoc.Converter SDK in Your C# Application





To successfully use our XDoc.Converter toolkit in your C# application for performing high performance documents and images conversion, your computer should meet the following system requirements. Also, complete and accurate converter SDK installation is required. Please read details as below.


System Requirements



  • Windows XP SP3 or any later version
  • Microsoft .NET Framework or any later version


XDoc.Converter SDK Installation



At the very beginning, C# users should make sure that RasterEdge XDoc.Converter for .NET is installed into Visual Studio (2005+) .NET project successfully.

Add the following C# demo code to your project (PDF to Png conversion demo).

// Define input and output files path.
String inputFilePath = @"***.pdf";
String outputFilePath = @"***.png";

// Create the SaveOption for image.
ImageSaveOption op = new ImageSaveOption(FileType.IMG_PNG);

// Set flag to false.
op.UseDefaultResolution = false;

// Set horizontal resolution of the output image to 300 pixels per inch.
op.ResolutionX = 300F;

// Set vertical resolution of the output image to 300 pixels per inch.
op.ResolutionY = 300F;

// Convert PDF file to Png image.
DocumentConverter.ToImage(inputFilePath, outputFilePath, op);