File Format Conversion

to convert

Input Type
rtf

to

Output Type
jpeg

.NET Quick Start Guide - Convert RTF to JPEG

Below is a functional (copy and paste) code example of how to quickly get started with our conversion technology using our new .NET NuGet package.

Option 1: Install Using Package Manager

Install-Package Accusoft.PrizmDocServerSDK --version 1.0.0-beta.*

Option 2: Install Using .NET CLI

dotnet add package Accusoft.PrizmDocServerSDK --version 1.0.0-beta.*

Example of usage [RTF to JPEG]

using System;
using System.IO;
using System.Threading.Tasks;
using Accusoft.PrizmDocServer;

namespace Demos
{
    class Program
    {
        static void Main(string[] args)
        {
            MainAsync().GetAwaiter().GetResult();
        }

        static async Task MainAsync()
        {
            var prizmDocServer = new PrizmDocServerClient("https://api.accusoft.com", "YOUR_API_KEY");

            // Take a rtf file and convert it to a jpeg.
            IEnumerable<ConversionResult> results = await prizmDocServer.ConvertAsync("input.rtf", DestinationFileFormat.Jpeg);

            // Save the result
            await results.Single().RemoteWorkFile.SaveAsync("output.jpeg");
        }
    }
}
Want more info on our PrizmDoc Server SDK? View our SDK Documentation to learn more.Not using .NET? View our API Documentation to use our advanced features with other languages.