Surprise for me is that, there is no error occurs. Below is my code:
if (!Page.IsPostBack)
Thank You,
Vimal
if (!Page.IsPostBack)
{
MagickReadSettings settings = new MagickReadSettings();
settings.Density = new MagickGeometry(300, 300);
settings.FrameIndex = 0;
settings.FrameCount = 1;
using (MagickImageCollection images = new MagickImageCollection())
{
images.Read(Server.MapPath(@"2014_HPP_Plan_2-11-14_REV.pdf"), settings);
int page = 1;
foreach (MagickImage image in images)
{
image.Write(Server.MapPath("~/developeruploads/Snakeware.Page.jpg"));
}
}
}
Please review code and let me know if there is any problem.Thank You,
Vimal