Documents for PDF .NET Edition
In This Topic
    Samples
    In This Topic

    All the GcPdf samples are available through the online sample browser. You can browse the source code of samples, run them on the server and view the generated PDFs online, or download individual samples to build and run on your own system (Windows, Mac or Linux). For more information, see Quick Start, introductory page for the samples.

    If you choose to download the samples, you can run them using following simple steps: 

    1. Click the Download action on the top right of the sample page.
    2. Unzip the downloaded .zip file of sample.
    3. Run the sample.

    List of samples

    The complete list of available GcPdf sample projects is mentioned below:

    Basic Feature Samples

    Features Sample Description
    Quick Start Tutorial - Create PDF documents on Windows, MAC, Linux in .NET Core.
    Hello, World! Create PDF documents on Windows, MAC, Linux in .NET Core.
    Document Document Properties Set document properties of PDF documents in .NET Core.
    Linearized PDF Creating linearized PDF file in .NET Core.
    Page Size/Orientation Set page size and orientation of PDF Documents in .NET Core.
    PDF/A Creating PDF/A-3u conformant document in .NET Core.
    Large Document StartDoc/EndDoc Create large PDF document using less memory in .NET Core.
    Large Document Create large PDF Document in simple way in .NET Core.
    Large TextLayout Creating a large PDF using a single TextLayout method in .NET Core.
    Fonts Font Collection Create PDF documents with different fonts in .NET Core, using FontCollection method.
    Font from File Loading font loaded from a font file in PDF document in .NET Core.
    Standard PDF Fonts Create PDF Documents with Standard PDF Fonts in .NET Core.
    Fallback Fonts Create PDF Documents using fallback fonts in .NET Core.
    Bold/Italic Emulation Control of bold and/or italic emulation with normal fonts in PDF Documents in .NET Core.
    EUDC Fonts Rendering private use Unicode characters (PUA) with custom EUDC fonts (.tte) in PDF Documents in .NET Core.
    Font Features Create PDF Documents with Font features in .NET Core.
    Surrogates etc. Rendering surrogate pairs and Unicode characters in PDF Documents in .NET Core.
    Surrogates Portable Rendering surrogate pairs in platform-independent way in PDF documents in .NET Core.
    Unicode Ranges Create PDF Documents with multiple Unicode ranges in .NET Core.
    Text Text Rendering Render text using DrawString/DrawTextLayout methods in PDF Documents in .NET Core.
    Character Formatting Create PDF Documents with character formatting in .NET Core.
    Paginated Text Create PDF Documents with long text spanning multiple pages in .NET Core.
    Text Trimming Create PDF Documents with trimmed text and ellipsis at end of string in .NET Core.
    Multi-formatted Text Create PDF Documents with multiple formatting in a single paragraph in .NET Core.
    Word and Char Wrap Create PDF Documents using Word wrap and Character wrap when rendering text in .NET Core.
    Sub and Super Script Render text as subscript or superscript in PDF Documents in .NET Core.
    Multiple Languages Create PDF Documents in multiple languages in .NET Core.
    Paragraph Alignment Align paragraphs in PDF Documents in .NET Core.
    Paragraph Formatting Add paragraph formatting in PDF documents in .NET Core.
    Text Alignment Aligning and justifying paragraph text in PDF Documents in .NET Core.
    Numbered List Render a numbered list in PDF Documents in .NET Core.
    Nested Lists Add styles to numbered lists in PDF Documents in .NET Core.
    Keep With Next Preventing page breaks between paragraphs in PDF Documents in .NET Core.
    Advanced Balanced Columns Create multi-column page layout with balanced columns and document outline in PDF Documents in .NET Core.
    Multi-column Text Create magazine styled multi-column page layout in PDF Documents in .NET Core.
    Tate Chu Yoko Rendering horizontal runs in a vertical text (tate chu yoko) in PDF Documents in .NET Core.
    Outlined Text Outline and fill text using brushes in PDF documents in .NET Core.
    Ligatures Create PDF Documents with typographics ligatures in .NET Core.
    Drop Caps Add text with drop cap in PDF Documents in .NET Core.
    Text Around Images Rendering text around images in PDF Documents in .NET Core.
    Inline Images Add text with inline images in PDF documents .NET Core.
    Arabic Columns Rendering Arabic text using a columnar layout in PDF Documents in .NET Core.
    Japanese Columns Rendering vertical Japanese text using a layout with horizontal columns in PDF Documents in .NET Core.
    Rotated Text Rotating text by an arbitrary angle in PDF Documents in .NET Core.
    Rotated Text (alt) Rotating text by an arbitrary angle using matrix multiplication in PDF Documents in .NET Core.
    Tabs Alignment Render aligned columns of numbers in PDF Documents in .NET Core.
    Vertical Text Render vertical text in LTR and RTL modes in PDF Documents in .NET Core.
    Images Slide Pages Generate pages of slides from all images in PDF Documents in .NET Core.
    Raw Images Create PDF documents with images and image alignment in .NET Core.
    Get Images Extract images from PDF Documents in .NET Core.
    Image Transparency Rendering images with transparency/opacity in PDF Documents in .NET Core.
    Graphics Gradients Using linear and radial gradient brushes in PDF Documents in .NET Core.
    Round Rectangles Render round rectangles in PDF Documents in .NET Core.
    Shapes Add graphics in PDF Documents in .NET Core.
    Transformations Create PDF Documents with graphics transformations in .NET Core.
    Soft Mask Use soft mask for drawing semi-transparent content and clipped graphics in PDF Documents in .NET Core.
    Navigation Link To URL Adding text with URL link in PDF Documents in .NET Core.
    Outlines Adding bookmarks to a PDF Document in .NET Core.
    Destinations Jump to link within PDF Document in .NET Core.
    Image Links Add Images with destination links to PDF Documents in .NET Core.
    Page Labels Add Page Labels to a PDF Document in .NET Core.
    Image Article Threads Create article threads over related images in a PDF document in .NET Core.
    Annotations Annotations Add annotations to PDF Documents in .NET Core.
    File Attachments Attach files to a PDF document in .NET Core.
    Stamp Annotation Add stamp annotation with a custom image in PDF Document in .NET Core.
    Sound Annotations Add sound annotations to PDF Document in .NET Core.
    Ink Annotations Add Ink Annotation in PDF Document in .NET Core.
    Find and Redact Find and redact text in a PDF Document in .NET Core.
    Forms AcroForm Fields Creating AcroForm fields in PDF Document in .NET Core.
    Submit Form Submit PDF Form data to a server in .NET Core.
    Import XML Import submitted form data from XML in PDF Document in .NET Core.
    Import Form Data Import form data submitted from the client in PDF Document in .Net Core.
    Tags Tagged Paragraphs Create tagged PDF documents with tagged paragraphs in .NET Core.
    Tagged TextLayout Create tagged PDF documents with long text spanning multiple pages in .NET Core.
    Merge PDFs Merge PDFs Merge PDFs in a single PDF document in .NET Core.
    Page FormXObject Draw PDF Pages on another PDF Document in .NET Core.
    Editing Load PDF Load and modify an existing PDF file in .NET Core.
    Fill PDF Form Load and fill PDF Form in .NET Core.
    List Fonts Enumerate fonts found in a loaded PDF in .NET Core.
    Extract Text Extract text from a PDF file in .NET Core.
    Find Text Find text and highlight all occurrences in a PDF File .NET Core.
    Find Transformed Find and highlight transformed text in a PDF File in .NET Core.
    Miscellaneous Signing PDF Create and digitally sign PDF Documents with .pfx file.
    Incremental Update Sign a signed PDF file in .NET Core.
    Visual Signature Sign a PDF file using a visual signature with a .pfx file.
    Document Attachments Attach files to a PDF document in .NET Core.
    Easy Page Headers Add page headers and footers to a PDF Document in .NET Core.
    JavaScript Action Add JavaScript action in PDF Document in .NET Core.
    Security Handlers Encrypt/decrypt PDF Files in .NET Core.
    CMAP Resources Extract text encoded with CMaps in PDF File in .NET Core.
    Remove Signature Fields Find and remove existing signature fields from PDF Document in .NET Core.
    Remove Signatures Find and remove digital signature from PDF Document in .NET Core.
    Save as Image Save PDF pages as images in .NET Core.

    HTML Samples

    Sample Description
    Hello World (HTML) Render an HTML string to PDF files in .NET Core.
    Google Home Page Render the Google home page to PDF files with default options in .Net Core.
    HTML Settings Render a Web page to PDF with options (orientation, margins, headers, footers).
    Simple HTML table Render a simple table using HTML.
    Dynamic Table Render a multi-page HTML table.
    Product Price List Render a data table from an XML data set using an HTML template.
    Merge Table Rows Build a table using JavaScript to merge cells with same values.

    Barcode Samples

    Supported Barcodes Add barcodes to PDF files in .NET Core.
    Shipping Labels Create shipping labels with barcodes in PDF document in .NET Core.

    Fancy Doc Samples

    Sample Description
    Goods Return Form Creating complex layout Acroform in PDF document.
    Time Sheet Form Create a Time Sheet PDF Form in .NET Core.
    Data Sheet Create PDF data sheet with a complex layout in .NET Core.
    Wetlands Create a text document in PDF with images and text highlights in .NET Core.

    Use Case Samples

    Sample Description
    Time Sheet Create a Time Sheet PDF template, fill and protect it in .NET Core.
    Time Sheet Incremental Sign TimeSheet PDF Form using two signatures in .NET Core.
    Word Index Generate and append alphabetical index to a PDF file in .NET Core.