Welcome to MuPDF.NET#
MuPDF for .NET.
MuPDF.NET is a high-performance C# library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
MuPDF.NET is hosted on GitHub and is registered on NuGet.
Developer documentation to help you get started#
Welcome
- Getting Started
- The Basics
- Supported File Types
- Opening a File
- Extract text from a PDF
- Extract images from a PDF
- Extract vector graphics
- Merging PDF files
- Adding a watermark to a PDF
- Adding text to a PDF
- Adding an image to a PDF
- Converting a PDF page to an image
- Converting from an image to a PDF
- Extracting & Drawing vector graphics
- Rotating a PDF
- Cropping a PDF
- Attaching Files
- Embedding Files
- Deleting Pages
- Re-Arranging Pages
- Copying Pages
- Selecting Pages
- Adding Blank Pages
- Inserting Pages with Text Content
- Splitting Single Pages
- Combining Single Pages
- PDF Encryption & Decryption
- Getting Page Links
- Getting All Annotations from a Document
- Redacting content from a PDF
- Working with Barcodes
- Reading Barcodes
- Writing Barcodes
- Using Image Filters
API REFERENCE
- Classes
- Utils
PaperSize()PaperRect()sRGB2Pdf()sRGB2Rgb()GlyphName2Unicode()Unicode2GlyphName()PlanishLine()PaperSizesTESSDATA_PREFIXGetPdfNow()GetTextLength()GetPdfString()GetImageProfile()ConversionHeader()ConversionTrailer()RecoverQuad()RecoverCharQuad()RecoverSpanQuad()RecoverLineQuad()INFINITE_QUAD()INFINITE_RECT()INFINITE_IRECT()EMPTY_QUAD()EMPTY_RECT()EMPTY_IRECT()CalcImageMatrix()ColorCount()ConstructLabel()DecodeRawUnicodeEscape()DecodeRawUnicodeEscape()DoLinks()EnsureIdentity()ExpandFontName()GetId()GetAllContents()GetAnnotByName()GetArea()GetBorderStyle()GetColors()GetColorHSV()GetColorInfoList()GetDestString()GetDestString()GetDestString()GetFieldTypeText()GetFontProperties()GetGlyphText()GetImageExtension()GetLinkText()GetTextWithLayout()GetTables()GetWidgetProperties()InsertContents()Integer2Letter()Integer2Roman()MeasureString()MergeRange()NormalizeRotation()RuleDict()ReadBarcodes()ReadBarcodes()WriteBarcode()WriteBarcode()GetBarcodePixmap()ReplaceBytes()
- Constants and Enumerations
- Migrating from ByteScout SDK
Find us#
Note
MuPDF.NET has been derived from PyMuPDF and it closely follows its structure. So for most of PyMuPDF’s classes, features and functions you will find a respective MuPDF.NET object doing the same sort of thing.
Please note that there are deviations as per how objects are named.
