Skip to footer content
PRODUCT COMPARISONS

An Overview of IronPDF and SelectPdf

Learn More About IronPDF is designed to be a one-stop solution for all PDF-related tasks in the .NET ecosystem. It supports HTML, CSS, JavaScript as well as multiple image formats, thus being extremely adaptable for web-based applications. With a variety of features like generating PDFs, editing them, or signing and encrypting, IronPDF is a great tool to add to your arsenal.

SelectPdf provides a flexible HTML to PDF converter for .NET applications that can be run on both the .NET Framework and .NET Core platforms. It offers rich functions for creating PDF files and manipulating existing PDF documents, which make it suitable for various business and personal scenarios.

Cross-Platform Compatibility

IronPDF:

IronPDF supports a wide range of platforms, ensuring that you can work in your preferred environment. Here’s a breakdown of its compatibility:

  • .NET versions:

    • C#, VB.NET, F#

    • .NET Core (8, 7, 6, 5, and 3.1+)

    • .NET Standard (2.0+)

    • .NET Framework (4.6.2+)
  • App environments: IronPDF works in environments including Windows, Linux, Mac, Docker, Azure, and AWS

  • IDEs: Works with IDEs such as Microsoft Visual Studio and JetBrains Rider & ReSharper

  • OS and Processors: Supports several different OS & processors including Windows, Mac, Linux, x64, x86, ARM

For more information, visit IronPDF Compatibility Details.

SelectPdf

  • .NET versions:

    • .NET Framework 4.0+

    • .NET Core 2.1+

    • .NET Standard 2.0
  • App environments: SelectPdf works only with the Windows OS and does not work with cloud-based environments such as Azure.

Key Feature Comparison: PDF Functionality in IronPDF vs. SelectPdf

IronPDF

  • HTML to PDF conversion: IronPDF can handle HTML to PDF conversion, with its full support for modern web standards. You can be assured that IronPDF will consistently return pixel-perfect PDFs from your HTML content.

  • PDF file conversion: Need to convert file formats other than HTML to PDF? Convert DOCX to PDF, RTF to PDF, Image to PDF, URL to PDF, and even PDF to HTML, all while maintaining the desired document structure with IronPDF.

  • Security features: With IronPDF, you can always be assured that any sensitive PDF files are secure thanks to its security features. Use IronPDF to set PDF security settings for your PDFs, set passwords, and set permissions for your PDF files.

  • PDF editing features: With IronPDF you can edit existing documents with ease. IronPDF offers editing features such as the ability to add headers and footers, stamp text and images onto the PDF pages, merge and split PDF documents, add custom watermarks to the PDF, and work with PDF forms.

For detailed feature information about the features offered by IronPDF, visit Advanced IronPDF Features.

SelectPdf

  • PDF generation: Generate PDF documents from scratch, or generate PDFs from HTML content such as a raw HTML string, web page, and more.

  • Manipulate PDF documents: Add, merge, and split PDF pages, and extract pages from existing PDF files.

  • PDF setting: Set PDF page settings such as setting page orientation, size, and margins. Set PDF viewer preferences and PDF document properties.

  • PDF security: Set your PDF document security settings, encrypt your PDF files with passwords, and edit the permissions for your PDF files.

Comparison of Top Highlight Features with Code Examples Between IronPDF vs. SelectPdf

HTML to PDF Conversion

IronPDF:

using IronPdf;

// Enable web security to prevent local disk access or cross-origin requests
Installation.EnableWebSecurity = true;

// Instantiate Chrome PDF Renderer
var renderer = new ChromePdfRenderer();

// Create a PDF from an HTML string using C#
var pdf = renderer.RenderHtmlAsPdf("<h1>Hello World</h1>");

// Export to a file
pdf.SaveAs("output.pdf");

// Advanced Example with HTML Assets
// Load external html assets: images, CSS, and JavaScript from the specified BasePath
var myAdvancedPdf = renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", @"c:\site\assets\");
myAdvancedPdf.SaveAs("html-with-assets.pdf");
using IronPdf;

// Enable web security to prevent local disk access or cross-origin requests
Installation.EnableWebSecurity = true;

// Instantiate Chrome PDF Renderer
var renderer = new ChromePdfRenderer();

// Create a PDF from an HTML string using C#
var pdf = renderer.RenderHtmlAsPdf("<h1>Hello World</h1>");

// Export to a file
pdf.SaveAs("output.pdf");

// Advanced Example with HTML Assets
// Load external html assets: images, CSS, and JavaScript from the specified BasePath
var myAdvancedPdf = renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", @"c:\site\assets\");
myAdvancedPdf.SaveAs("html-with-assets.pdf");
Imports IronPdf



' Enable web security to prevent local disk access or cross-origin requests

Installation.EnableWebSecurity = True



' Instantiate Chrome PDF Renderer

Dim renderer = New ChromePdfRenderer()



' Create a PDF from an HTML string using C#

Dim pdf = renderer.RenderHtmlAsPdf("<h1>Hello World</h1>")



' Export to a file

pdf.SaveAs("output.pdf")



' Advanced Example with HTML Assets

' Load external html assets: images, CSS, and JavaScript from the specified BasePath

Dim myAdvancedPdf = renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", "c:\site\assets\")

myAdvancedPdf.SaveAs("html-with-assets.pdf")
$vbLabelText   $csharpLabel

SelectPdf:

// Instantiate an HTML to PDF converter object
HtmlToPdf converter = new HtmlToPdf();

// Create a new pdf document by converting a URL
PdfDocument doc = converter.ConvertUrl(url);

// Save the PDF document
doc.Save(file);

// Close the PDF document
doc.Close();
// Instantiate an HTML to PDF converter object
HtmlToPdf converter = new HtmlToPdf();

// Create a new pdf document by converting a URL
PdfDocument doc = converter.ConvertUrl(url);

// Save the PDF document
doc.Save(file);

// Close the PDF document
doc.Close();
' Instantiate an HTML to PDF converter object

Dim converter As New HtmlToPdf()



' Create a new pdf document by converting a URL

Dim doc As PdfDocument = converter.ConvertUrl(url)



' Save the PDF document

doc.Save(file)



' Close the PDF document

doc.Close()
$vbLabelText   $csharpLabel

Whether you want to convert multiple web pages into the same PDF document or a single HTML string, IronPDF provides high-fidelity PDF files thanks to its use of ChromePdfRenderer and its support for modern web standards. With IronPDF, you can convert HTML to PDF with High Fidelity using just a few lines of code. SelectPdf's HTML to PDF converter tool is concise and quick to implement but may not produce the same high-quality output.

If you want to learn more about IronPDF's HTML to PDF conversion tool, check out our handy HTML to PDF Conversion Guides.

Encrypting PDF Files

IronPDF:

using IronPdf;
using System;

// Open an Encrypted File or create a new PDF from Html
var pdf = PdfDocument.FromFile("encrypted.pdf", "password");

// Edit file metadata
pdf.MetaData.Author = "Satoshi Nakamoto";
pdf.MetaData.Keywords = "SEO, Friendly";
pdf.MetaData.ModifiedDate = DateTime.Now;

// Edit file security settings
// Make the PDF read-only and disallow copy &amp; paste and printing
pdf.SecuritySettings.RemovePasswordsAndEncryption();
pdf.SecuritySettings.MakePdfDocumentReadOnly("secret-key");
pdf.SecuritySettings.AllowUserAnnotations = false;
pdf.SecuritySettings.AllowUserCopyPasteContent = false;
pdf.SecuritySettings.AllowUserFormData = false;
pdf.SecuritySettings.AllowUserPrinting = IronPdf.Security.PdfPrintSecurity.FullPrintRights;

// Change or set the document encryption password
pdf.Password = "my-password";
pdf.SaveAs("secured.pdf");
using IronPdf;
using System;

// Open an Encrypted File or create a new PDF from Html
var pdf = PdfDocument.FromFile("encrypted.pdf", "password");

// Edit file metadata
pdf.MetaData.Author = "Satoshi Nakamoto";
pdf.MetaData.Keywords = "SEO, Friendly";
pdf.MetaData.ModifiedDate = DateTime.Now;

// Edit file security settings
// Make the PDF read-only and disallow copy &amp; paste and printing
pdf.SecuritySettings.RemovePasswordsAndEncryption();
pdf.SecuritySettings.MakePdfDocumentReadOnly("secret-key");
pdf.SecuritySettings.AllowUserAnnotations = false;
pdf.SecuritySettings.AllowUserCopyPasteContent = false;
pdf.SecuritySettings.AllowUserFormData = false;
pdf.SecuritySettings.AllowUserPrinting = IronPdf.Security.PdfPrintSecurity.FullPrintRights;

// Change or set the document encryption password
pdf.Password = "my-password";
pdf.SaveAs("secured.pdf");
Imports IronPdf

Imports System



' Open an Encrypted File or create a new PDF from Html

Private pdf = PdfDocument.FromFile("encrypted.pdf", "password")



' Edit file metadata

pdf.MetaData.Author = "Satoshi Nakamoto"

pdf.MetaData.Keywords = "SEO, Friendly"

pdf.MetaData.ModifiedDate = DateTime.Now



' Edit file security settings

' Make the PDF read-only and disallow copy &amp; paste and printing

pdf.SecuritySettings.RemovePasswordsAndEncryption()

pdf.SecuritySettings.MakePdfDocumentReadOnly("secret-key")

pdf.SecuritySettings.AllowUserAnnotations = False

pdf.SecuritySettings.AllowUserCopyPasteContent = False

pdf.SecuritySettings.AllowUserFormData = False

pdf.SecuritySettings.AllowUserPrinting = IronPdf.Security.PdfPrintSecurity.FullPrintRights



' Change or set the document encryption password

pdf.Password = "my-password"

pdf.SaveAs("secured.pdf")
$vbLabelText   $csharpLabel

SelectPdf:

// Set document passwords
doc.Security.OwnerPassword = "test1";
doc.Security.UserPassword = "test2";

// Set document permissions
doc.Security.CanAssembleDocument = false;
doc.Security.CanCopyContent = true;
doc.Security.CanEditAnnotations = true;
doc.Security.CanEditContent = true;
doc.Security.CanFillFormFields = true;
doc.Security.CanPrint = true;
// Set document passwords
doc.Security.OwnerPassword = "test1";
doc.Security.UserPassword = "test2";

// Set document permissions
doc.Security.CanAssembleDocument = false;
doc.Security.CanCopyContent = true;
doc.Security.CanEditAnnotations = true;
doc.Security.CanEditContent = true;
doc.Security.CanFillFormFields = true;
doc.Security.CanPrint = true;
' Set document passwords

doc.Security.OwnerPassword = "test1"

doc.Security.UserPassword = "test2"



' Set document permissions

doc.Security.CanAssembleDocument = False

doc.Security.CanCopyContent = True

doc.Security.CanEditAnnotations = True

doc.Security.CanEditContent = True

doc.Security.CanFillFormFields = True

doc.Security.CanPrint = True
$vbLabelText   $csharpLabel

When you seek to Encrypt Your PDFs Efficiently, both IronPDF and SelectPdf offer a built-in encryption tool. IronPDF's encryption feature is extensive, giving you plenty of control over the various security settings while still being straightforward to use. SelectPdf's encryption feature is concise and simple and is easy to implement into your projects.

For more information on adding passwords and permissions to your PDF files, visit IronPDF's helpful Adding Passwords and Permissions Guide.

Redacting PDF Content

IronPDF:

using IronPdf;

// Load and redact 'are' from all pages of the PDF
PdfDocument pdf = PdfDocument.FromFile("novel.pdf");
pdf.RedactTextOnAllPages("are");

// Save the redacted PDF
pdf.SaveAs("redacted.pdf");
using IronPdf;

// Load and redact 'are' from all pages of the PDF
PdfDocument pdf = PdfDocument.FromFile("novel.pdf");
pdf.RedactTextOnAllPages("are");

// Save the redacted PDF
pdf.SaveAs("redacted.pdf");
Imports IronPdf



' Load and redact 'are' from all pages of the PDF

Private pdf As PdfDocument = PdfDocument.FromFile("novel.pdf")

pdf.RedactTextOnAllPages("are")



' Save the redacted PDF

pdf.SaveAs("redacted.pdf")
$vbLabelText   $csharpLabel

SelectPdf:

SelectPdf does not support redaction directly.

IronPDF provides a concise, yet powerful PDF Redaction Tool that is capable of redacting content with just a few lines of code. SelectPdf, on the other hand, lacks any built-in redaction feature.

Digitally Signing PDFs

IronPDF:

using IronPdf;
using IronPdf.Signing;
using System.Security.Cryptography.X509Certificates;

// Generate a PDF from HTML
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>foo</h1>");

// Create a certificate object with Exportable key storage
X509Certificate2 cert = new X509Certificate2("IronSoftware.pfx", "123456", X509KeyStorageFlags.Exportable);

// Create and apply PDF signature
var sig = new PdfSignature(cert);
pdf.Sign(sig);
pdf.SaveAs("signed.pdf");
using IronPdf;
using IronPdf.Signing;
using System.Security.Cryptography.X509Certificates;

// Generate a PDF from HTML
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>foo</h1>");

// Create a certificate object with Exportable key storage
X509Certificate2 cert = new X509Certificate2("IronSoftware.pfx", "123456", X509KeyStorageFlags.Exportable);

// Create and apply PDF signature
var sig = new PdfSignature(cert);
pdf.Sign(sig);
pdf.SaveAs("signed.pdf");
Imports IronPdf

Imports IronPdf.Signing

Imports System.Security.Cryptography.X509Certificates



' Generate a PDF from HTML

Private renderer As New ChromePdfRenderer()

Private pdf As PdfDocument = renderer.RenderHtmlAsPdf("<h1>foo</h1>")



' Create a certificate object with Exportable key storage

Private cert As New X509Certificate2("IronSoftware.pfx", "123456", X509KeyStorageFlags.Exportable)



' Create and apply PDF signature

Private sig = New PdfSignature(cert)

pdf.Sign(sig)

pdf.SaveAs("signed.pdf")
$vbLabelText   $csharpLabel

SelectPdf:

// Create a new PDF document
PdfDocument doc = new PdfDocument();

// Add a new page
PdfPage page = doc.AddPage();

// Define image and certificate paths
string imgFile = Server.MapPath("~/files/logo.png");
string certFile = Server.MapPath("~/files/selectpdf.pfx");

// Render an image element on the page
PdfRenderingResult result;
PdfImageElement img = new PdfImageElement(0, 0, imgFile);
result = page.Add(img);

// Load the PKCS12 certificate from file
PdfDigitalCertificatesCollection certificates = PdfDigitalCertificatesStore.GetCertificates(certFile, "selectpdf");
PdfDigitalCertificate certificate = certificates[0];

// Create and add the digital signature
PdfDigitalSignatureElement signature = new PdfDigitalSignatureElement(result.PdfPageLastRectangle, certificate)
{
    Reason = "SelectPdf",
    ContactInfo = "SelectPdf",
    Location = "SelectPdf"
};
page.Add(signature);

// Save and close the PDF document
doc.Save(Response, false, "Sample.pdf");
doc.Close();
// Create a new PDF document
PdfDocument doc = new PdfDocument();

// Add a new page
PdfPage page = doc.AddPage();

// Define image and certificate paths
string imgFile = Server.MapPath("~/files/logo.png");
string certFile = Server.MapPath("~/files/selectpdf.pfx");

// Render an image element on the page
PdfRenderingResult result;
PdfImageElement img = new PdfImageElement(0, 0, imgFile);
result = page.Add(img);

// Load the PKCS12 certificate from file
PdfDigitalCertificatesCollection certificates = PdfDigitalCertificatesStore.GetCertificates(certFile, "selectpdf");
PdfDigitalCertificate certificate = certificates[0];

// Create and add the digital signature
PdfDigitalSignatureElement signature = new PdfDigitalSignatureElement(result.PdfPageLastRectangle, certificate)
{
    Reason = "SelectPdf",
    ContactInfo = "SelectPdf",
    Location = "SelectPdf"
};
page.Add(signature);

// Save and close the PDF document
doc.Save(Response, false, "Sample.pdf");
doc.Close();
' Create a new PDF document

Dim doc As New PdfDocument()



' Add a new page

Dim page As PdfPage = doc.AddPage()



' Define image and certificate paths

Dim imgFile As String = Server.MapPath("~/files/logo.png")

Dim certFile As String = Server.MapPath("~/files/selectpdf.pfx")



' Render an image element on the page

Dim result As PdfRenderingResult

Dim img As New PdfImageElement(0, 0, imgFile)

result = page.Add(img)



' Load the PKCS12 certificate from file

Dim certificates As PdfDigitalCertificatesCollection = PdfDigitalCertificatesStore.GetCertificates(certFile, "selectpdf")

Dim certificate As PdfDigitalCertificate = certificates(0)



' Create and add the digital signature

Dim signature As New PdfDigitalSignatureElement(result.PdfPageLastRectangle, certificate) With {

	.Reason = "SelectPdf",

	.ContactInfo = "SelectPdf",

	.Location = "SelectPdf"

}

page.Add(signature)



' Save and close the PDF document

doc.Save(Response, False, "Sample.pdf")

doc.Close()
$vbLabelText   $csharpLabel

With IronPDF, applying Digital Signatures with Ease to your PDF files is made easy with its simple, robust PDF signing tool. SelectPdf can also apply digital signatures to your PDFs, though it requires more setup and involves a more manual approach.

For more of IronPDF's digital signature tool in action, visit its Digital Signature Tool Guide.

Applying Custom Watermarks

IronPDF:

using IronPdf;

// Apply a watermark to a URL rendered as a PDF
var renderer = new ChromePdfRenderer();
var pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf/");
pdf.ApplyWatermark("<h2 style='color:red'>SAMPLE</h2>", 30, IronPdf.Editing.VerticalAlignment.Middle, IronPdf.Editing.HorizontalAlignment.Center);
pdf.SaveAs(@"C:\Path\To\Watermarked.pdf");
using IronPdf;

// Apply a watermark to a URL rendered as a PDF
var renderer = new ChromePdfRenderer();
var pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf/");
pdf.ApplyWatermark("<h2 style='color:red'>SAMPLE</h2>", 30, IronPdf.Editing.VerticalAlignment.Middle, IronPdf.Editing.HorizontalAlignment.Center);
pdf.SaveAs(@"C:\Path\To\Watermarked.pdf");
Imports IronPdf



' Apply a watermark to a URL rendered as a PDF

Private renderer = New ChromePdfRenderer()

Private pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf/")

pdf.ApplyWatermark("<h2 style='color:red'>SAMPLE</h2>", 30, IronPdf.Editing.VerticalAlignment.Middle, IronPdf.Editing.HorizontalAlignment.Center)

pdf.SaveAs("C:\Path\To\Watermarked.pdf")
$vbLabelText   $csharpLabel

SelectPdf:

// Create a new PDF document and font
PdfDocument doc = new PdfDocument();
PdfFont font = doc.AddFont(PdfStandardFont.Helvetica);
font.Size = 24;

// Add a new page
PdfPage page = doc.AddPage();

// Add a text element
PdfTextElement text = new PdfTextElement(0, 0, Helper.SomeLongText(), font);
page.Add(text);

// Define image path
string imgFile = Server.MapPath("~/files/logo.png");

// Add image as watermark via template
PdfTemplate template = doc.AddTemplate(doc.Pages[0].ClientRectangle);
PdfImageElement img = new PdfImageElement(doc.Pages[0].ClientRectangle.Width - 300, doc.Pages[0].ClientRectangle.Height - 150, imgFile)
{
    Transparency = 50
};
template.Background = true;
template.Add(img);

// Save and close the PDF document
doc.Save(Response, false, "Sample.pdf");
doc.Close();
// Create a new PDF document and font
PdfDocument doc = new PdfDocument();
PdfFont font = doc.AddFont(PdfStandardFont.Helvetica);
font.Size = 24;

// Add a new page
PdfPage page = doc.AddPage();

// Add a text element
PdfTextElement text = new PdfTextElement(0, 0, Helper.SomeLongText(), font);
page.Add(text);

// Define image path
string imgFile = Server.MapPath("~/files/logo.png");

// Add image as watermark via template
PdfTemplate template = doc.AddTemplate(doc.Pages[0].ClientRectangle);
PdfImageElement img = new PdfImageElement(doc.Pages[0].ClientRectangle.Width - 300, doc.Pages[0].ClientRectangle.Height - 150, imgFile)
{
    Transparency = 50
};
template.Background = true;
template.Add(img);

// Save and close the PDF document
doc.Save(Response, false, "Sample.pdf");
doc.Close();
' Create a new PDF document and font

Dim doc As New PdfDocument()

Dim font As PdfFont = doc.AddFont(PdfStandardFont.Helvetica)

font.Size = 24



' Add a new page

Dim page As PdfPage = doc.AddPage()



' Add a text element

Dim text As New PdfTextElement(0, 0, Helper.SomeLongText(), font)

page.Add(text)



' Define image path

Dim imgFile As String = Server.MapPath("~/files/logo.png")



' Add image as watermark via template

Dim template As PdfTemplate = doc.AddTemplate(doc.Pages(0).ClientRectangle)

Dim img As New PdfImageElement(doc.Pages(0).ClientRectangle.Width - 300, doc.Pages(0).ClientRectangle.Height - 150, imgFile) With {.Transparency = 50}

template.Background = True

template.Add(img)



' Save and close the PDF document

doc.Save(Response, False, "Sample.pdf")

doc.Close()
$vbLabelText   $csharpLabel

IronPDF's built-in Watermark Tool utilizes HTML and CSS for applying watermarks to PDF pages with seamless control over the process, all in only a few lines of code. SelectPdf also has a PDF watermarking tool, though it may be longer and more complex to implement.

Stamping Images and Text onto PDFs

IronPDF:

using IronPdf;
using IronPdf.Editing;

// Create and render a PDF from HTML
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>");

// Text stamper configuration
TextStamper textStamper = new TextStamper
{
    Text = "Text Stamper!",
    FontFamily = "Bungee Spice",
    UseGoogleFont = true,
    FontSize = 30,
    IsBold = true,
    IsItalic = true,
    VerticalAlignment = VerticalAlignment.Top,
};

// Apply text stamp
pdf.ApplyStamp(textStamper);
pdf.SaveAs("stampText.pdf");

// Image stamper configuration
ImageStamper imageStamper = new ImageStamper(new Uri("/img/svgs/iron-pdf-logo.svg"))
{
    VerticalAlignment = VerticalAlignment.Top,
};

// Apply image stamp
pdf.ApplyStamp(imageStamper, 0);
pdf.SaveAs("stampImage.pdf");
using IronPdf;
using IronPdf.Editing;

// Create and render a PDF from HTML
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>");

// Text stamper configuration
TextStamper textStamper = new TextStamper
{
    Text = "Text Stamper!",
    FontFamily = "Bungee Spice",
    UseGoogleFont = true,
    FontSize = 30,
    IsBold = true,
    IsItalic = true,
    VerticalAlignment = VerticalAlignment.Top,
};

// Apply text stamp
pdf.ApplyStamp(textStamper);
pdf.SaveAs("stampText.pdf");

// Image stamper configuration
ImageStamper imageStamper = new ImageStamper(new Uri("/img/svgs/iron-pdf-logo.svg"))
{
    VerticalAlignment = VerticalAlignment.Top,
};

// Apply image stamp
pdf.ApplyStamp(imageStamper, 0);
pdf.SaveAs("stampImage.pdf");
Imports IronPdf

Imports IronPdf.Editing



' Create and render a PDF from HTML

Private renderer As New ChromePdfRenderer()

Private pdf As PdfDocument = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>")



' Text stamper configuration

Private textStamper As New TextStamper With {

	.Text = "Text Stamper!",

	.FontFamily = "Bungee Spice",

	.UseGoogleFont = True,

	.FontSize = 30,

	.IsBold = True,

	.IsItalic = True,

	.VerticalAlignment = VerticalAlignment.Top

}



' Apply text stamp

pdf.ApplyStamp(textStamper)

pdf.SaveAs("stampText.pdf")



' Image stamper configuration

Dim imageStamper As New ImageStamper(New Uri("/img/svgs/iron-pdf-logo.svg")) With {.VerticalAlignment = VerticalAlignment.Top}



' Apply image stamp

pdf.ApplyStamp(imageStamper, 0)

pdf.SaveAs("stampImage.pdf")
$vbLabelText   $csharpLabel

SelectPdf:

// Create a new PDF document with a font
PdfDocument doc = new PdfDocument();
PdfFont font = doc.AddFont(PdfStandardFont.Helvetica);
font.Size = 24;

// Add a new page
PdfPage page = doc.AddPage();

// Add a text element
PdfTextElement text = new PdfTextElement(0, 0, Helper.SomeLongText(), font);
page.Add(text);

// Define image path
string imgFile = Server.MapPath("~/files/logo.png");

// Add image stamper via template
PdfTemplate template = doc.AddTemplate(doc.Pages[0].ClientRectangle);
PdfImageElement img = new PdfImageElement(doc.Pages[0].ClientRectangle.Width - 300, doc.Pages[0].ClientRectangle.Height - 150, imgFile);
template.Add(img);

// Save and close the PDF document
doc.Save(Response, false, "Sample.pdf");
doc.Close();
// Create a new PDF document with a font
PdfDocument doc = new PdfDocument();
PdfFont font = doc.AddFont(PdfStandardFont.Helvetica);
font.Size = 24;

// Add a new page
PdfPage page = doc.AddPage();

// Add a text element
PdfTextElement text = new PdfTextElement(0, 0, Helper.SomeLongText(), font);
page.Add(text);

// Define image path
string imgFile = Server.MapPath("~/files/logo.png");

// Add image stamper via template
PdfTemplate template = doc.AddTemplate(doc.Pages[0].ClientRectangle);
PdfImageElement img = new PdfImageElement(doc.Pages[0].ClientRectangle.Width - 300, doc.Pages[0].ClientRectangle.Height - 150, imgFile);
template.Add(img);

// Save and close the PDF document
doc.Save(Response, false, "Sample.pdf");
doc.Close();
' Create a new PDF document with a font

Dim doc As New PdfDocument()

Dim font As PdfFont = doc.AddFont(PdfStandardFont.Helvetica)

font.Size = 24



' Add a new page

Dim page As PdfPage = doc.AddPage()



' Add a text element

Dim text As New PdfTextElement(0, 0, Helper.SomeLongText(), font)

page.Add(text)



' Define image path

Dim imgFile As String = Server.MapPath("~/files/logo.png")



' Add image stamper via template

Dim template As PdfTemplate = doc.AddTemplate(doc.Pages(0).ClientRectangle)

Dim img As New PdfImageElement(doc.Pages(0).ClientRectangle.Width - 300, doc.Pages(0).ClientRectangle.Height - 150, imgFile)

template.Add(img)



' Save and close the PDF document

doc.Save(Response, False, "Sample.pdf")

doc.Close()
$vbLabelText   $csharpLabel

IronPDF offers a robust tool for Stamping Text and Images onto PDFs, allowing full control over the stamping process using an approach similar to HTML and CSS. SelectPdf's approach involves more steps and manual configuration.

For more details about IronPDF's stamping tools, visit its comprehensive Stamping Text and Images Guide.

DOCX to PDF Conversion

IronPDF:

using IronPdf;

// Instantiate DOCX to PDF Renderer
DocxToPdfRenderer renderer = new DocxToPdfRenderer();

// Render PDF from DOCX file
PdfDocument pdf = renderer.RenderDocxAsPdf("Modern-chronological-resume.docx");

// Save the PDF
pdf.SaveAs("pdfFromDocx.pdf");
using IronPdf;

// Instantiate DOCX to PDF Renderer
DocxToPdfRenderer renderer = new DocxToPdfRenderer();

// Render PDF from DOCX file
PdfDocument pdf = renderer.RenderDocxAsPdf("Modern-chronological-resume.docx");

// Save the PDF
pdf.SaveAs("pdfFromDocx.pdf");
Imports IronPdf



' Instantiate DOCX to PDF Renderer

Private renderer As New DocxToPdfRenderer()



' Render PDF from DOCX file

Private pdf As PdfDocument = renderer.RenderDocxAsPdf("Modern-chronological-resume.docx")



' Save the PDF

pdf.SaveAs("pdfFromDocx.pdf")
$vbLabelText   $csharpLabel

SelectPdf:

SelectPdf does not support direct DOCX to PDF conversion.

IronPDF supports direct conversion of DOCX files to PDF, allowing you to convert DOCX to PDF with just a few lines, while maintaining the quality. SelectPdf does not offer built-in support for DOCX to PDF conversion.

To explore more about IronPDF's DOCX to PDF conversion feature, check out the DOCX to PDF Conversion Guide.

Summary of the Feature Comparison

A Comparison between IronPDF and SelectPDF: Figure 1

For detailed code examples, visit the IronPDF Examples Page.

Pricing and Licensing: IronPDF vs. SelectPdf

IronPDF Pricing and Licensing

IronPDF Licensing and Pricing offers different levels and additional features for purchasing a license. Developers can also buy Iron Suite, giving access to all IronSoftware’s products at the cost of two. If you’re not ready to buy a license, IronPDF provides a free trial option lasting 30 days.

  • Perpetual licenses: Offers various perpetual licenses depending on team size, project needs, and number of locations. Each license type includes email support.

  • Lite license: This license starts at $749, supporting one developer, one location, and one project.

  • Plus license: Supports three developers, three locations, and three projects and costs $1,499. Includes chat, phone, and email support.

  • Professional license: Suitable for larger teams, supports ten developers, locations, and projects for $2,999. Includes screen-sharing support.

  • Royalty-free redistribution: Available for an additional $1,999

  • Uninterrupted product support: Secure ongoing updates, security, and engineering support at $999/year or one-time $1,999 for five-year cover.

  • Iron Suite: Comprehensive access at $1,498 includes IronSoftware products like IronPDF, IronOCR, IronWord, etc.

A Comparison between IronPDF and SelectPDF: Figure 2

SelectPdf

SelectPdf has a variety of perpetual licensing tiers, with each including a one-year maintenance plan.

  • Single developer license: $499, supports one developer and one deployment machine

  • Single developer OEM license: $799, supports one developer and unlimited deployment machines

  • 5-Developers license: $799, supports up to five developers and up to 10 deployment machines

  • 5-Developers OEM license: $1,099, supports up to five developers and unlimited deployment machines

  • Enterprise license: $1,199, supports unlimited developers and up to one hundred deployment machines

  • Enterprise OEM license: $1,599, supports unlimited developers and unlimited deployment machines

Documentation and Support: IronPDF vs. SelectPdf

IronPDF

IronPDF shines with extensive documentation and support:

  • Comprehensive Documentation: Extensive, user-friendly resources covering all features.

  • 24/5 Support: Active engineer support available.

  • Video Tutorials: Step-by-step guides on YouTube.

  • Community Forum: Supportive community available for additional assistance.

  • Regular Updates: Monthly updates for the latest features and security patches.

Learn more through IronPDF's Documentation Library, and explore their YouTube Channel.

SelectPdf Documentation and Support

  • Detailed Documentation: Covers all features with examples.

  • Email Support: Available for technical and licensing queries.

  • Professional Services: Paid support for complex implementations, including one-year maintenance plans.

Conclusion

Choosing the right PDF library for your needs is vital when dealing with PDFs. We've explored IronPDF and SelectPdf, delving into their capabilities. While SelectPdf offers a wide range of features for PDF operations, these may require more effort than IronPDF solutions.

IronPDF stands out as a versatile and comprehensive solution for .NET developers needing robust PDF functionality. Its extensive features, compatibility with modern .NET frameworks, and strong support make it a powerful addition to any developer's toolkit.

You can try the 30-day free trial to check out their available features.

Frequently Asked Questions

What is the main purpose of these PDF libraries?

IronPDF and SelectPdf are both PDF libraries designed for .NET applications. IronPDF offers a comprehensive solution for generating, editing, signing, and encrypting PDFs with support for modern web standards. SelectPdf specializes in HTML to PDF conversion and provides various PDF manipulation features.

Which platforms are supported by this PDF tool?

IronPDF supports a wide range of platforms including .NET Core, .NET Standard, and .NET Framework. It works on Windows, Linux, Mac, Docker, Azure, and AWS environments and is compatible with IDEs like Microsoft Visual Studio and JetBrains Rider.

Is this PDF library compatible with cloud-based environments?

No, SelectPdf is not compatible with cloud-based environments like Azure. It only works within Windows OS environments.

Does this library support DOCX to PDF conversion?

Yes, IronPDF supports direct DOCX to PDF conversion, allowing users to convert DOCX files to PDF with high quality.

What are the security features offered by this tool?

IronPDF offers robust security features, including setting PDF security settings, adding passwords, and setting permissions to ensure that PDF files are secure.

How does this library's pricing compare to others?

IronPDF offers various perpetual licenses with options for team size and project needs, starting with a Lite license. SelectPdf has perpetual licensing tiers with a one-year maintenance plan, starting with a Single Developer License.

Can this tool apply digital signatures to PDFs?

Yes, IronPDF provides a simple and robust tool for applying digital signatures to PDF files, ensuring authenticity and integrity.

Does this library support PDF content redaction?

No, SelectPdf does not support direct PDF content redaction. IronPDF, however, offers a tool for redacting PDF content with ease.

What support and resources does this PDF tool offer?

IronPDF offers extensive documentation, 24/5 engineer support, video tutorials, a community forum, and regular updates to assist developers in effectively using their library.

What are the main differences between these two PDF libraries?

IronPDF is more versatile with extensive features for PDF manipulation, compatibility with modern .NET frameworks, and strong support. SelectPdf is focused on HTML to PDF conversion and offers various PDF manipulation features but lacks some advanced functionalities like DOCX to PDF conversion and redaction.

Chipego
Software Engineer
Chipego has a natural skill for listening that helps him to comprehend customer issues, and offer intelligent solutions. He joined the Iron Software team in 2023, after studying a Bachelor of Science in Information Technology. IronPDF and IronOCR are the two products Chipego has been focusing on, but his knowledge of all products is growing daily, as he finds new ways to support customers. He enjoys how collaborative life is at Iron Software, with team members from across the company bringing their varied experience to contribute to effective, innovative solutions. When Chipego is away from his desk, he can often be found enjoying a good book or playing football.