public static void ReadSinglePageFromPDF() { using (MagickImageCollection collection = new MagickImageCollection()) { MagickReadSettings settings = new MagickReadSettings(); settings.FrameIndex = 0; // First page settings.FrameCount = 1; // Number of pages // Read only the first page of the pdf file collection.Read(SampleFiles.SnakewarePdf, settings); // Clear the collection collection.Clear(); settings.FrameCount = 2; // Number of pages // Read the first two pages of the pdf file collection.Read(SampleFiles.SnakewarePdf, settings); } }