Example how to save RichTextBox content as pdf file keeping text formatting Sample rtf The sample has been converted to rtf Framework .NET Framework 4.7.2 ⚠️ Dependencies ⚠️ NuGet itext itext.bouncy-castle-adapter itext.commons itext.pdfhtml RtfPipe