PDF Renderer SDK Features, Benefits - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

PDF Renderer SDK

  • Home
  • /
  • PDF Renderer SDK
ByteScout PDF Renderer SDK - C# - Text-Vector-Image Layers Program.cs using System; using System.Diagnostics; using Bytescout.PDFRenderer; namespace PDF2PNG { class Program { static void Main(string[] args) { // Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it. RasterRenderer renderer = new RasterRenderer(); renderer.RegistrationName = "demo"; renderer.RegistrationKey = "demo"; RenderingOptions renderingOptions = new RenderingOptions(); // Enable text objects rendering renderingOptions.RenderTextObjects = true; // DISABLE vector objects rendering renderingOptions.RenderVectorObjects = false; // DISABLE image objects rendering renderingOptions.RenderImageObjects [...]
ByteScout PDF Renderer SDK - C# - Silent Printing Program.cs   Click here to get your Free Trial version of the SDK
ByteScout PDF Renderer SDK - C# - Rendering In Background Thread Program.cs using System; using System.IO; using System.Threading; using Bytescout.PDFRenderer; namespace RenderingInBackgroundThread { class Program { private static ManualResetEvent _doneEvent = new ManualResetEvent(false); // synchronization event private static int _counter; // thread counter static void Main(string[] args) { // Get all PDF files in current directory string[] pdfFiles = Directory.GetFiles(".", "*.pdf"); _counter = pdfFiles.Length; // Render PDF files in separate threads foreach (string pdfFile in [...]
ByteScout PDF Renderer SDK - C# - PDF to TIFF multipaged Program.cs   Click here to get your Free Trial version of the SDK
ByteScout PDF Renderer SDK - C# - PDF To PNG high quality Program.cs using System; using System.Diagnostics; using Bytescout.PDFRenderer; namespace PDF2PNG { class Program { static void Main(string[] args) { // Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it. RasterRenderer renderer = new RasterRenderer(); renderer.RegistrationName = "demo"; renderer.RegistrationKey = "demo"; // Set high quality resolution 600 dpi (600 dots per inch) float renderingResolution = 600; // Load PDF document. renderer.LoadDocumentFromFile("multipage.pdf"); for (int i = [...]
ByteScout PDF Renderer SDK - C# - PDF To PNG Program.cs using System; using System.Diagnostics; using Bytescout.PDFRenderer; namespace PDF2PNG { class Program { static void Main(string[] args) { // Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it RasterRenderer renderer = new RasterRenderer(); renderer.RegistrationName = "demo"; renderer.RegistrationKey = "demo"; // Load PDF document renderer.LoadDocumentFromFile("multipage.pdf"); for (int i = 0; i < renderer.GetPageCount(); i++) { // Render document page to PNG image file. renderer.Save("image" + i [...]
ByteScout PDF Renderer SDK - C# - PDF To Memory Stream Program.cs using System; using System.IO; using System.Drawing; using System.Diagnostics; using Bytescout.PDFRenderer; namespace PDF2PNG { class Program { static void Main(string[] args) { // Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it. RasterRenderer renderer = new RasterRenderer(); renderer.RegistrationName = "demo"; renderer.RegistrationKey = "demo"; // Load PDF document. renderer.LoadDocumentFromFile("multipage.pdf"); // Iterate through pages for (int i = 0; i < renderer.GetPageCount(); i++) { using (MemoryStream [...]
ByteScout PDF Renderer SDK - C# - PDF To JPEG Program.cs using System; using System.Diagnostics; using Bytescout.PDFRenderer; namespace PDF2JPEG { class Program { static void Main(string[] args) { // Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it RasterRenderer renderer = new RasterRenderer(); renderer.RegistrationName = "demo"; renderer.RegistrationKey = "demo"; // Load PDF document renderer.LoadDocumentFromFile("multipage.pdf"); for (int i = 0; i < renderer.GetPageCount(); i++) { // Render document page to PNG image file. renderer.Save("image" + i [...]
ByteScout PDF Renderer SDK - C# - PDF To EMF Program.cs using System; using System.Diagnostics; using Bytescout.PDFRenderer; namespace PDF2EMF { class Program { static void Main(string[] args) { // Create an instance of Bytescout.PDFRenderer.VectorRenderer object and register it. VectorRenderer renderer = new VectorRenderer(); renderer.RegistrationName = "demo"; renderer.RegistrationKey = "demo"; // Load PDF document. renderer.LoadDocumentFromFile("vector_drawing.pdf"); for (int i = 0; i < renderer.GetPageCount(); i++) { // Render document page to EMF image file renderer.Save("image" + i [...]
ByteScout PDF Renderer SDK - C# - PDF To BMP Program.cs using System; using System.Diagnostics; using Bytescout.PDFRenderer; namespace PDF2BMP { class Program { static void Main(string[] args) { // Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it. RasterRenderer renderer = new RasterRenderer(); renderer.RegistrationName = "demo"; renderer.RegistrationKey = "demo"; // Load PDF document. renderer.LoadDocumentFromFile("multipage.pdf"); for (int i = 0; i < renderer.GetPageCount(); i++) { // Render first page of the document to BMP image file. [...]