Skip to content

About

GroupDocs.Conversion.LowCode - F# Code Examples

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GroupDocs.Conversion.LowCode - F# Code Examples

This directory contains 69 complete, runnable F# examples for GroupDocs.Conversion.LowCode. They are generated from the documentation at https://docs.groupdocs.net/conversion/, so every example matches a code sample in the docs.

πŸ“‹ Overview

πŸ“ Directory Structure

The examples mirror the structure of the documentation:

/
β”œβ”€β”€ πŸ“‚ Examples/
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/ (1 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/loading-source-documents/ (3 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/saving-converted-documents/ (3 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/using-doc-to-pdf-converter/ (7 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/using-docx-to-pdf-converter/ (6 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/using-html-to-pdf-converter/ (6 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/using-pdf-to-docx-converter/ (6 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/using-pdf-to-md-converter/ (5 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/using-pdf-to-pdfa-converter/ (6 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/using-ppt-to-pdf-converter/ (6 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/using-pptx-to-pdf-converter/ (6 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/using-xls-to-pdf-converter/ (6 examples)
β”‚   β”œβ”€β”€ πŸ“‚ developer-guide/using-xlsx-to-pdf-converter/ (6 examples)
β”‚   └── πŸ“‚ licensing/ (2 examples)
β”œβ”€β”€ πŸ“„ README.md
β”œβ”€β”€ πŸš€ run_all_examples.bat
β”œβ”€β”€ πŸš€ run_all_examples.ps1
└── πŸš€ run_all_examples.sh

🎯 Examples

Developer Guide

Loading Source Documents

Saving Converted Documents

Using DOC to PDF Converter

Using DOCX to PDF Converter

Using HTML to PDF Converter

Using PDF to DOCX Converter

Using PDF to MD Converter

Using PDF to PDF/A Converter

Using PPT to PDF Converter

Using PPTX to PDF Converter

Using XLS to PDF Converter

Using XLSX to PDF Converter

Licensing

πŸš€ How to Run Code Examples

Prerequisites

  • .NET SDK that supports net10.0
  • GroupDocs.Conversion.LowCode license keys: the examples read them from the GD_PUBLIC_KEY and GD_PRIVATE_KEY environment variables and stop with an error when they are not set. A temporary license works too.
  • Sample files (copied into each example folder)

Set Up the License

Option 1: Environment Variables (Recommended)

# Windows
set GD_PUBLIC_KEY=your-public-key
set GD_PRIVATE_KEY=your-private-key

# Linux/macOS
export GD_PUBLIC_KEY=your-public-key
export GD_PRIVATE_KEY=your-private-key

Option 2: Direct in Code

Edit the Program.fs file and replace the placeholder values:

let publicKey = "your-public-key"
let privateKey = "your-private-key"

Running Individual Examples

  1. Navigate to an example directory:
    cd Examples/developer-guide/CopyTheCodeExample
  2. Run the example:
    dotnet run
  3. Look for the generated files in the example directory.

Running All Examples

  • Windows (Command Prompt): run_all_examples.bat
  • Windows (PowerShell): .\run_all_examples.ps1
  • Linux/macOS: ./run_all_examples.sh

The scripts read the license keys from the environment variables. They skip the 2 examples that load a license file or keys from Program.fs; put your license into those files and run them individually.

πŸ†˜ Support

About

GroupDocs.Conversion.LowCode - F# Code Examples

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages