Giter VIP home page Giter VIP logo

pdf-editing-blazor's Introduction

Blazor PDF Editing with PDFsharp

This repository contains a Blazor Server application demonstrating the capabilities of editing PDF documents using the PDFsharp library. It offers a basic implementation of how to modify an existing PDF file by adding text, serving as a starting point for more complex PDF manipulation tasks in Blazor applications.

Features

  • Basic PDF editing using PDFsharp.
  • Adding text to an existing PDF document.
  • Simple Blazor UI for triggering the PDF editing process.

Getting Started

These instructions will help you get the project up and running on your local machine for development and testing purposes.

Prerequisites

  • .NET 7.0 SDK or later
  • Visual Studio 2022 or a compatible IDE

Installation

  1. Clone the repository:
git clone https://github.com/PSPDFKit-labs/pdf-editing-blazor.git
  1. Open the solution file in Visual Studio.

Running the Application

  1. Build the solution by selecting Build -> Build Solution.
  2. Run the application by selecting Debug -> Start Debugging.
  3. Once the application is running, navigate to the main page.
  4. Use the provided button to edit the specified PDF file.

Usage

The application demonstrates basic PDF editing:

  • A predefined PDF file (wwwroot/document.pdf) is edited when the user clicks the 'Edit PDF' button.
  • The PdfEditor class adds specified text to the first page of the PDF.
  • Feel free to modify the PDF path and the editing logic in the PdfEditor class to explore further functionalities of PDFsharp.

Contributing

Contributions are welcome! Please feel free to fork the repository and submit pull requests. Please ensure you have signed our CLA so that we can accept your contributions.

pdf-editing-blazor's People

Contributors

hulyak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.