<%@ Page Title="" Language="vb" MasterPageFile="~/Samples.Master" AutoEventWireup="true" CodeBehind="Default.aspx.vb" Inherits="SelectPdf.Samples.SelectPdf.Samples.Default" ValidateRequest="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>SelectPdf for .NET - Pdf Library for .NET Sample Code - VB.NET / ASP.NET</title>
    <meta name="description" content="SelectPdf Samples for VB.NET and ASP.NET classic Web Forms. Pdf Library for .NET with full sample code in C# and VB.NET." itemprop="description">
    <meta name="keywords" content="pdf library, sample code, html to pdf, pdf converter, pdf to text, pdf to image converter" itemprop="keywords">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
    <div class="spdf-samples-hero">
        <span class="spdf-kicker"><span class="i">&#167;</span><span class="t">SelectPdf &#183; .NET &#183; ASP.NET Web Forms</span></span>
        <h1 class="spdf-mt-14">PDF Library for .NET <span class="spdf-display-accent">samples.</span></h1>
        <p class="spdf-lede">
            <a href="https://selectpdf.com" title="Pdf Library for .NET">SelectPdf for .NET</a> creates, edits,
            reads and manipulates PDF documents in .NET &#8212; no third-party dependencies, no Adobe software required.
            Each sample below ships with its full VB.NET source.
        </p>
    </div>

    <section class="spdf-samples-group">
        <div class="spdf-samples-group-head">
            <h2>Pdf Creation Basics</h2>
            <span class="count">12 samples</span>
        </div>
        <div class="spdf-samples-grid">
            <a class="spdf-sample-card" href="getting-started.aspx"><span class="name">Getting Started</span><span class="desc">Create a PDF and write text</span></a>
            <a class="spdf-sample-card" href="document-properties.aspx"><span class="name">Document Properties</span><span class="desc">Set title, author, keywords</span></a>
            <a class="spdf-sample-card" href="pdf-viewer-preferences.aspx"><span class="name">Viewer Preferences</span><span class="desc">Control how viewers open the PDF</span></a>
            <a class="spdf-sample-card" href="page-settings.aspx"><span class="name">Page Settings</span><span class="desc">Size, orientation, margins</span></a>
            <a class="spdf-sample-card" href="pdf-security.aspx"><span class="name">Security Settings</span><span class="desc">Passwords and permissions</span></a>
            <a class="spdf-sample-card" href="pdf-elements-positions.aspx"><span class="name">Element Positions</span><span class="desc">Place elements precisely</span></a>
            <a class="spdf-sample-card" href="pdf-text-element.aspx"><span class="name">Text Element</span><span class="desc">Draw styled text</span></a>
            <a class="spdf-sample-card" href="pdf-image-element.aspx"><span class="name">Image Element</span><span class="desc">Place images in the PDF</span></a>
            <a class="spdf-sample-card" href="pdf-html-element.aspx"><span class="name">Html Element</span><span class="desc">Render HTML into a region</span></a>
            <a class="spdf-sample-card" href="graphic-elements.aspx"><span class="name">Graphic Elements</span><span class="desc">Lines, rectangles, shapes</span></a>
            <a class="spdf-sample-card" href="pdf-links.aspx"><span class="name">Links</span><span class="desc">Internal and external links</span></a>
            <a class="spdf-sample-card" href="pdf-bookmarks.aspx"><span class="name">Bookmarks</span><span class="desc">Document outline tree</span></a>
        </div>
    </section>

    <section class="spdf-samples-group">
        <div class="spdf-samples-group-head">
            <h2>Advanced Topics</h2>
            <span class="count">15 samples</span>
        </div>
        <div class="spdf-samples-grid">
            <a class="spdf-sample-card" href="pdf-templates.aspx"><span class="name">Templates</span><span class="desc">Reusable page templates</span></a>
            <a class="spdf-sample-card" href="headers-and-footers.aspx"><span class="name">Headers &amp; Footers</span><span class="desc">Repeat content per page</span></a>
            <a class="spdf-sample-card" href="pdf-stamps.aspx"><span class="name">Stamps</span><span class="desc">Stamp content onto pages</span></a>
            <a class="spdf-sample-card" href="pdf-watermarks.aspx"><span class="name">Watermarks</span><span class="desc">Background watermarks</span></a>
            <a class="spdf-sample-card" href="page-numbering.aspx"><span class="name">Page Numbering</span><span class="desc">Add page numbers</span></a>
            <a class="spdf-sample-card" href="pdf-merge.aspx"><span class="name">Merge</span><span class="desc">Combine multiple PDFs</span></a>
            <a class="spdf-sample-card" href="pdf-split.aspx"><span class="name">Split</span><span class="desc">Split a PDF into parts</span></a>
            <a class="spdf-sample-card" href="digital-signatures.aspx"><span class="name">Digital Signatures</span><span class="desc">Sign documents</span></a>
            <a class="spdf-sample-card" href="modify-existing-pdf.aspx"><span class="name">Modify Existing PDF</span><span class="desc">Edit an existing document</span></a>
            <a class="spdf-sample-card" href="pdf-compression.aspx"><span class="name">Compression</span><span class="desc">Shrink file size</span></a>
            <a class="spdf-sample-card" href="advanced-pdf-security.aspx"><span class="name">Advanced Security</span><span class="desc">Fine-grained security + signing</span></a>
            <a class="spdf-sample-card" href="pdf-form-filling.aspx"><span class="name">Form Filling</span><span class="desc">Fill AcroForm fields</span></a>
            <a class="spdf-sample-card" href="pdf-portfolio.aspx"><span class="name">Portfolio</span><span class="desc">PDF portfolios / packages</span></a>
            <a class="spdf-sample-card" href="pdf-resize.aspx"><span class="name">Resize / Scale</span><span class="desc">Resize or scale pages</span></a>
            <a class="spdf-sample-card" href="existing-pdf-headers-and-footers.aspx"><span class="name">Existing PDF Headers &amp; Footers</span><span class="desc">Headers/footers on existing PDFs</span></a>
        </div>
    </section>

    <section class="spdf-samples-group">
        <div class="spdf-samples-group-head">
            <h2>Html to Pdf Converter</h2>
            <span class="count">23 samples</span>
        </div>
        <div class="spdf-samples-grid">
            <a class="spdf-sample-card" href="html-to-pdf-converter.aspx"><span class="name">Getting Started</span><span class="desc">Convert HTML to PDF</span></a>
            <a class="spdf-sample-card" href="convert-url-to-pdf.aspx"><span class="name">Convert URL to PDF</span><span class="desc">Render a web page to PDF</span></a>
            <a class="spdf-sample-card" href="convert-html-code-to-pdf.aspx"><span class="name">Convert HTML Code</span><span class="desc">Render an HTML string to PDF</span></a>
            <a class="spdf-sample-card" href="pdf-converter-properties.aspx"><span class="name">Document Properties</span><span class="desc">Metadata on converted PDFs</span></a>
            <a class="spdf-sample-card" href="pdf-converter-viewer-preferences.aspx"><span class="name">Viewer Preferences</span><span class="desc">Viewer prefs on conversion</span></a>
            <a class="spdf-sample-card" href="pdf-converter-security.aspx"><span class="name">Security Settings</span><span class="desc">Secure converted PDFs</span></a>
            <a class="spdf-sample-card" href="convert-multiple-urls-to-pdf.aspx"><span class="name">Multiple URLs</span><span class="desc">Merge several URLs into one PDF</span></a>
            <a class="spdf-sample-card" href="conversion-delay.aspx"><span class="name">Conversion Delay</span><span class="desc">Wait before rendering</span></a>
            <a class="spdf-sample-card" href="html-to-pdf-headers-and-footers.aspx"><span class="name">Headers &amp; Footers</span><span class="desc">HTML headers and footers</span></a>
            <a class="spdf-sample-card" href="page-breaks.aspx"><span class="name">Page Breaks</span><span class="desc">Control page breaks</span></a>
            <a class="spdf-sample-card" href="automatic-bookmarks.aspx"><span class="name">Automatic Bookmarks</span><span class="desc">Bookmarks from HTML headings</span></a>
            <a class="spdf-sample-card" href="http-headers.aspx"><span class="name">HTTP Headers</span><span class="desc">Send custom request headers</span></a>
            <a class="spdf-sample-card" href="http-cookies.aspx"><span class="name">HTTP Cookies</span><span class="desc">Send cookies with the request</span></a>
            <a class="spdf-sample-card" href="http-post-request.aspx"><span class="name">HTTP POST Request</span><span class="desc">Convert a POST response</span></a>
            <a class="spdf-sample-card" href="convert-from-js.aspx"><span class="name">Start from JavaScript</span><span class="desc">Trigger conversion from JS</span></a>
            <a class="spdf-sample-card" href="media-types.aspx"><span class="name">Media Types</span><span class="desc">Screen vs print CSS</span></a>
            <a class="spdf-sample-card" href="html-to-pdf-converter-links.aspx"><span class="name">Links</span><span class="desc">Internal/external links in output</span></a>
            <a class="spdf-sample-card" href="partial-conversion.aspx"><span class="name">Partial Conversion</span><span class="desc">Convert a single page section</span></a>
            <a class="spdf-sample-card" href="exclude-from-conversion.aspx"><span class="name">Exclude Elements</span><span class="desc">Skip elements when converting</span></a>
            <a class="spdf-sample-card" href="convert-current-page-to-pdf.aspx"><span class="name">Current Web Page</span><span class="desc">Convert the current page</span></a>
            <a class="spdf-sample-card" href="convert-and-email.aspx"><span class="name">Convert &amp; Email</span><span class="desc">Convert and email the PDF</span></a>
            <a class="spdf-sample-card" href="web-elements-location.aspx"><span class="name">Web Elements Location</span><span class="desc">Get element positions in the PDF</span></a>
            <a class="spdf-sample-card" href="table-of-contents.aspx"><span class="name">Table of Contents</span><span class="desc">Generate a table of contents</span></a>
        </div>
    </section>

    <section class="spdf-samples-group">
        <div class="spdf-samples-group-head">
            <h2>Html to Image Converter</h2>
            <span class="count">2 samples</span>
        </div>
        <div class="spdf-samples-grid">
            <a class="spdf-sample-card" href="convert-url-to-image.aspx"><span class="name">Convert URL to Image</span><span class="desc">Render a web page to an image</span></a>
            <a class="spdf-sample-card" href="convert-html-code-to-image.aspx"><span class="name">Convert HTML Code to Image</span><span class="desc">Render an HTML string to an image</span></a>
        </div>
    </section>

    <section class="spdf-samples-group">
        <div class="spdf-samples-group-head">
            <h2>Pdf To Text</h2>
            <span class="count">2 samples</span>
        </div>
        <div class="spdf-samples-grid">
            <a class="spdf-sample-card" href="pdf-to-text-converter.aspx"><span class="name">Extract Text</span><span class="desc">Extract text from a PDF</span></a>
            <a class="spdf-sample-card" href="search-pdf-text.aspx"><span class="name">Search Text</span><span class="desc">Search for text in a PDF</span></a>
        </div>
    </section>

    <section class="spdf-samples-group">
        <div class="spdf-samples-group-head">
            <h2>Pdf To Image</h2>
            <span class="count">1 sample</span>
        </div>
        <div class="spdf-samples-grid">
            <a class="spdf-sample-card" href="pdf-to-image-converter.aspx"><span class="name">PDF Pages to Images</span><span class="desc">Rasterize PDF pages to images</span></a>
        </div>
    </section>
</asp:Content>
