§SelectPdf · Community Edition · .NET 10
Free HTML to PDF samples.
SelectPdf HTML to PDF Converter for .NET 10 — Community Edition renders web pages and HTML strings to PDF in .NET — free, with no third-party dependencies and no Adobe software required. Each sample below ships with its full C# source.
Html to Pdf Converter
10 samples
Getting Started
Convert HTML to PDF
Convert URL to PDF
Render a web page to PDF
Convert HTML Code
Render an HTML string to PDF
Async Conversion
Convert several URLs at the same time
Current Web Page
Convert the current page
Conversion Delay
Wait before rendering
Media Types
Screen vs print CSS
Page Breaks
Control page breaks
Links
Internal/external links in output
Convert & Email
Convert and email the PDF
Output & Request Settings
8 samples
Document Properties
Metadata on converted PDFs
Viewer Preferences
Viewer prefs on conversion
Security Settings
Secure converted PDFs
Headers & Footers
HTML headers and footers
Automatic Bookmarks
Bookmarks from HTML headings
HTTP Headers
Send custom request headers
HTTP Cookies
Send cookies with the request
HTTP POST Request
Convert a POST response