Click or drag to resize

IronPdf Namespace

IronPDF is a.NET library allowing the generation and manipulation of PDF files in C# and other .Net projects.
Classes
  ClassDescription
Public classAspxToPdf
Renders any .Net Web Page (ASPX) into a PDF Document. Simply add it to the Page_Load event.
Public classHtmlHeaderFooter
A Html Header or Footer which will be printed onto every page of the PDF. This can be used to override Header and Footer

When using HtmlHeaderFooter it is important to set HtmlFragment and Height

Merge meta-data into your html using any of these placeholder strings: {page} {total-pages} {url} {date} {time} {html-title} {pdf-title}

Public classHtmlStamp
Class HtmlStamp. Used With the StampHTML(HtmlStamp) methods to edit PDF documents by 'stamping' additional content into the foreground or background.
Public classHtmlToPdf
IronPdf.HtmlToPdf allows any web page or Html 'snippet' to be turned into a PDF document.
Public classHttpLoginCredentials
Provides credentials for IronPdf to log-in to an intranet, extranet or website, impersonating a user. This allows a unique ability to render web-pages as PDFs even on secure intranets, extranets and websites.
Public classImageToPdfConvetrer
The ImageToPdfConvetrer class can be used to create PDF documents from images. It accepts both image files and Image objects as input.

The ImageToPdf static methods create simple PDF documents containing each image as one page of the created PDF.

To rasterize PDF documents as images (the reverse operation), see ToBitmap and RasterizeToImageFiles(String, ImageType)

Public classInstallation
Global installation and setup preferences for all instances of IronPDF
Public classLicense
Allows IronPdf license keys to be applied globally across an application.
Public classPdfDocument
A PDF Document
Public classPdfDocumentPdfMetaData
A class defining PDF file meta-data.

Allows File meta-data to be read and set including: Authors, File Dates, Keywords, Title and Subject

Implemented in MetaData.

Public classPdfDocumentPdfSecuritySettings
A class defining user security settings for a PDF document.

Allows the developer to control user access passwords, encryption, and also who may edit, print and copy content from the PDF document

Implemented in SecuritySettings.

Public classPdfPrintOptions
PDF output options for IronPdf. Specifies options such as Paper-Size, DPI, Headers and Footers.
Public classPdfSignature
A class that represents a PDF signing certificate (.PFX or .p12) format which can be used to digitally sign a PDF. This protecting it from alteration.
Public classSimpleHeaderFooter
Defines PDF Header and Footer display options.
Public classUtil
Useful methods for working with HTML and PDF files.
Enumerations
  EnumerationDescription
Public enumerationAspxToPdfFileBehavior
Determines the web browser behavior towards a PDF document.
Public enumerationHtmlStampStampLayer
Defines if a stamp should be placed behind or on-top of existing PDF contents.
Public enumerationImageType
An Image File Type Enumeration used to select image file formats when converting PDF documents to images. Also see: RasterizeToImageFiles(String, ImageType)
Public enumerationPdfDocumentPdfSecuritySettingsPdfEditSecrity
Enumeration defining levels of PDF user access rights to edit a PDF. Edit rights may also be limited by the User's PDF document client software.

See AllowUserEdits

Public enumerationPdfDocumentPdfSecuritySettingsPdfPrintSecrity
Enumeration defining levels of PDF user access rights to print a PDF.

See AllowUserPrinting

Public enumerationPdfDocumentWaterMarkLocation
Location for a simple watermark to be applied to a PDF page.
Public enumerationPdfPrintOptionsPdfCssMediaType
Defines which style-sheet should be rendered. 'Print' or 'Screen'. This matches the CSS3 Media Queries standard.
Public enumerationPdfPrintOptionsPdfPaperOrientation
Paper Orientation
Public enumerationPdfPrintOptionsPdfPaperSize
Defines the target paper size the PDF will use of pagination. Relates to real-world paper-sizes.