PDFsharp & MigraDoc Foundation

I am using c# ASP.NET, I want to convert pdf file to tiff or png. I did it using ImageMagick but it is slow. I don't know how to do it using PDFsharp and couldn't find any samples online.
This code scan the file extract each page then convert each page to tif file. Can anyone show me how its done using PDFsharp. Is it any faster from your experience. Tank you.

MagickReadSettings settings = new MagickReadSettings();
// Settings the density to 300 dpi will create an image with a better quality
settings.Density = new Density(300);

using (MagickImageCollection images = new MagickImageCollection())
// Add all the pages of the pdf file to the collection
images.Read(fileName, settings);

int page = 1;
foreach (MagickImage image in images)
// Write page to file that contains the page Number
//image.Write(@"C:\Users\syousif\Desktop\pdfconverttes\Snakeware.png" + page + ".png");
// Writing to a specific format works the same as for a single image
image.Format = MagickFormat.Png;
image.Write(fileNameResultDirectory + "\\0" + page + ".Png");
page++;
>
>