Convert an arbitrary PDF to grayscale TIFF with specified resolution

PDF C# VB