How to Draw Text and Bitmap on PDFs Curtis Chau Updated:August 19, 2025 Download IronPDF NuGet Download DLL Download Windows Installer Start Free Trial Copy for LLMs Copy for LLMs Copy page as Markdown for LLMs Open in ChatGPT Ask ChatGPT about this page Open in Gemini Ask Gemini about this page Open in Gemini Ask Gemini about this page Open in Perplexity Ask Perplexity about this page Share Share on Facebook Share on X (Twitter) Share on LinkedIn Copy URL Email article Unlock the power of IronPDF in your C# projects by watching this tutorial, and master the art of effortlessly adding text and images to your PDFs with expert guidance on installation, coding, and output verification! more... In this tutorial, we explore the process of using IronPDF to draw text and bitmap images on PDFs in a C# console application. The video starts with the installation of IronPDF via the NuGet package manager. We then move into coding, starting with including necessary namespaces such as IronPDF, Iron Software.Drawing, and System.IO. After adding a license key for IronPDF, we initialize a ChromePdfRenderer object to convert HTML content, specifically a header tag, into a PDF document.The tutorial demonstrates how to add text to the PDF using the DrawText method, specifying parameters like font type, size, page index, coordinates, color, and rotation angle. Text is added using the Times New Roman font, size 12, positioned on the first page at coordinates (100, 100), in black color.Next, the tutorial guides you on how to add an image to the PDF. An image named IronSoftware.PNG is loaded from a specified path using Bitmap.FromFile. The DrawBitmap method is employed to position the image on the first page at coordinates (50, 250), scaled to dimensions of 500x300 pixels.Finally, the PDF is saved using the SaveAs method with a specified file path. The tutorial concludes by running the project to verify the output, showcasing the added text and image in the PDF. This tutorial demonstrates the simplicity and efficiency of using IronPDF for PDF manipulation in a C# console application. For more tutorials and a trial subscription, viewers are encouraged to subscribe and visit the provided link.
Published September 23, 2025 How to Generate PDF Files in VB .NET Library | IronPDF Discover how to create and edit PDFs seamlessly in VB.NET using IronPDF. This video guides you through converting HTML, URLs, or strings into professional PDFs, with comprehensive support for CSS and JavaScript. Enhance your document management skills by learning these essential techniques. Read More
Published September 22, 2025 How to Export a PDF in C# | IronPDF This video tutorial provides a step-by-step guide on using IronPDF to convert HTML content into PDF files in C#. Learn to easily save PDFs to disk, memory, or send them directly, enhancing your document handling capabilities. Read More
Updated September 22, 2025 How to Generate a PDF from a Template in C# | IronPDF Discover how to transform dynamic HTML content into PDFs using IronPDF in C#. This video provides a comprehensive guide on generating high-quality PDFs from HTML templates, ensuring efficient and seamless conversion for your development needs. Read More
Updated September 22, 2025 How to Set Custom Paper Sizes for PDFs Using C# | IronPDF Discover how to render PDFs with custom paper sizes using C# and IronPDF. This video guides you through generating PDFs that fit non-standard templates, ideal for creating personalized documents such as invitations, posters, or custom reports. Enhance your document creation process with ease. Read More
Updated August 19, 2025 Render WebGL Content in PDFs with IronPDF Learn how to seamlessly render WebGL visuals into PDFs using IronPDF in C# Read More
Updated August 19, 2025 How to Redact Text and Regions in PDF using C# Discover how to securely redact sensitive information from PDF documents using C# and IronPDF in this comprehensive tutorial. Read More
All your questions are answered to make sure you have all the information you need. (No commitment whatsoever.)