Document creation
How to create a blank PDF in C#
Start a new PDF, choose the page size up front, add more pages if needed, and save the result.
Guides
Task-based articles for common PDF operations in C#.
Current Guides
Document creation
Start a new PDF, choose the page size up front, add more pages if needed, and save the result.
Page structure
Add pages to the end, insert them at a specific position, remove existing pages, and keep the order straight.
Page structure
Copy only the pages you want into a new PDF, keep the requested page order, or break a larger document into smaller files.
Page content
Write text into a page rectangle, choose font settings, and decide what should happen when the text does not fit.
Fonts and text
Register built-in PDF fonts such as Helvetica, Times, and Courier and use them for page text.
Fonts and text
Register a font from disk or a stream and use it when the output needs a specific typeface.
Security and output
Save a plain copy from an encrypted PDF, and decide whether you also need to remove older encrypted revision history from the file.
Forms and data capture
Fill AcroForm fields by name, discover fields in unfamiliar files, and select choice options without looping through every option yourself.
Document assembly
Append pages from one or more PDF streams, control the final page order, and save the combined output.
Page content
Add a text watermark to one page or the whole document, then save or combine it with other document updates.
Security and output
Write AES-128 or AES-256 protected output, choose user and owner passwords, and save the encrypted file.
Text and content
Read text from the whole document or a single page, and choose between extracted segments and plain text output.
Document info
Set title, author, subject, keywords, creator, and creation date through the high-level metadata wrapper.
Page structure
Rotate one page or the whole document with the built-in rotation helpers and save the updated file.
Output and size
Recompress eligible streams, tune JPEG quality, and save a smaller output file from the high-level API.
Output and save
Remove the previous incremental revision chain before saving when the output should only reflect the current document state.
No guides match that search yet.