Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

921494_ft Resolved Demo failures #120

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// See https://aka.ms/new-console-template for more information

using Syncfusion.Drawing;
using Syncfusion.Pdf;
using Syncfusion.Pdf.Graphics;
using Syncfusion.Pdf.Interactive;
using Syncfusion.Pdf.Parsing;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# PDF Annotations

The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) provides powerful tools to create, read, and edit PDF documents. This library also includes features to add, edit, and manage annotations in PDF files, enabling effective markup and collaboration.

## Steps to add annotations to a PDF

Follow these steps to add a popup annotation to a PDF file using the Syncfusion® library:

Step 1. **Create a new project**: Set up a new C# Console Application project.

Step 2. **Install NuGet package**: Add the [Syncfusion.Pdf.Net.Core](https://www.nuget.org/packages/Syncfusion.Pdf.Net.Core/) package to your .NET Standard application from [NuGet.org](https://www.nuget.org/).

Step 3. **Include necessary namespaces**: Add the following namespaces to your `Program.cs` file:

```csharp
using Syncfusion.Drawing;
using Syncfusion.Pdf;
using Syncfusion.Pdf.Graphics;
using Syncfusion.Pdf.Interactive;
using Syncfusion.Pdf.Parsing;
```

Step 4. **Code to add annotations**: Use the following code snippet in `Program.cs` to insert annotations into a PDF file:

```csharp
// Create a FileStream object to read the input PDF file
using (FileStream inputFileStream = new FileStream("input.pdf", FileMode.Open, FileAccess.Read))
{
// Load the PDF document from the input stream
using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument(inputFileStream))
{
// Access the first page of the PDF document
PdfPageBase loadedPage = loadedDocument.Pages[0];

// Create a new popup annotation
PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(new RectangleF(100, 100, 20, 20), "Comment");
// Set the icon for the popup annotation
popupAnnotation.Icon = PdfPopupIcon.Comment;
// Set the color for the popup annotation
popupAnnotation.Color = new PdfColor(Color.Yellow);
// Add the annotation to the page
loadedPage.Annotations.Add(popupAnnotation);

// Save the updated document
using (FileStream outputFileStream = new FileStream("output.pdf", FileMode.Create, FileAccess.Write))
{
loadedDocument.Save(outputFileStream);
}
}
}
```

For a complete working example, visit the [GitHub repository](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Annotation/Add-a-popup-annotation-to-an-existing-PDF-document/.NET).

More information about the annotation can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-annotations) section.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Compressing PDF Files

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) allows users to seamlessly create, read, and edit PDF documents. Additionally, it offers features for compressing PDF files, which helps reduce their size without sacrificing quality—optimizing storage and enhancing the efficiency of file sharing.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) allows users to seamlessly create, read, and edit PDF documents. Additionally, it offers features for compressing PDF files, which helps reduce their size without sacrificing quality—optimizing storage and enhancing the efficiency of file sharing.

## Steps to compress PDF files

Follow these steps to compress PDF files using the Syncfusion library:
Follow these steps to compress PDF files using the Syncfusion® library:

Step 1: **Create a new project**: Set up a new C# Console Application project.

Expand Down Expand Up @@ -56,4 +56,4 @@ Step 4: **Implement PDF compression**: Use the following code snippet in `Progra

You can download a complete working sample from the [GitHub repository](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Compression/Compress-the-images-in-an-existing-PDF-document).

To explore more features of the Syncfusion PDF library, click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the compressing PDF can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-compression) section.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Digital Signature

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) offers powerful capabilities for creating, reading, and editing PDF documents. One of its robust features is the ability to apply digital signatures to PDF files, ensuring document authenticity, integrity, and security.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) offers powerful capabilities for creating, reading, and editing PDF documents. One of its robust features is the ability to apply digital signatures to PDF files, ensuring document authenticity, integrity, and security.

## Steps to add a digital signature to PDF files

Follow these steps to digitally sign PDF files using the Syncfusion library:
Follow these steps to digitally sign PDF files using the Syncfusion® library:

Step 1: **Create a new project**: Start by creating a new C# Console Application project.

Expand Down Expand Up @@ -66,4 +66,4 @@ Step 4: **Add digital signature code**: Use the following code snippet in `Progr

For a complete working example, visit the [GitHub repository](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Digital%20Signature/Add-a-digital-signature-to-an-existing-document/).

To explore more features of the Syncfusion PDF library, click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the digital signature can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-digitalsignature) section.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PDF Forms

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) provides an easy way to create, read, and edit PDF documents. It also includes features for creating, filling, and editing PDF forms, which can include interactive form fields and form data.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) provides an easy way to create, read, and edit PDF documents. It also includes features for creating, filling, and editing PDF forms, which can include interactive form fields and form data.

## Steps to create PDF forms

Expand Down Expand Up @@ -65,4 +65,4 @@ Step 4: **Create PDF forms**: Implement the following code in `Program.cs` to ad

For a full working example, you can download the sample from the [GitHub repository](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Forms/Add-a-textbox-field-to-a-new-PDF-document).

To explore more features of the Syncfusion PDF library, click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the forms can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-forms) section.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# HTML to PDF Conversion

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) allows you to create, read, and edit PDF documents. It also includes functionality for accurately converting HTML content into PDF files.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) allows you to create, read, and edit PDF documents. It also includes functionality for accurately converting HTML content into PDF files.

## Steps to convert HTML to PDF

Follow these steps to convert HTML content into a PDF file using the Syncfusion library:
Follow these steps to convert HTML content into a PDF file using the Syncfusion® library:

Step 1: **Create a new project**: Initialize a new C# Console Application project.

Expand Down Expand Up @@ -37,4 +37,4 @@ Step 4: **Convert HTML to PDF**: Implement the following code in `Program.cs` to

You can download a complete working sample from the [GitHub repository](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/HTML%20to%20PDF/Blink/Convert-website-URL-to-PDF-document).

To explore more features of the Syncfusion PDF library, click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the HTML to PDF conversion can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/conversions/html-to-pdf/net/features) section.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Converting Images to PDF

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) offers tools to create, read, and edit PDF documents. It also provides functionality to convert images into PDF files, making it easy to integrate image content into your PDF documents.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) offers tools to create, read, and edit PDF documents. It also provides functionality to convert images into PDF files, making it easy to integrate image content into your PDF documents.

## Steps to convert images to PDF

Follow these steps to convert an image into a PDF file using the Syncfusion library:
Follow these steps to convert an image into a PDF file using the Syncfusion® library:

Step 1: **Create a new project**: Start a new C# Console Application project.

Expand Down Expand Up @@ -48,4 +48,4 @@ Step 4: **Convert image to PDF**: Implement the following code in `Program.cs` t

You can download a complete working sample from the [GitHub repository](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Images/Convert_Image_to_PDF/.NET).

To explore more features of the Syncfusion PDF library, click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the Image to PDF conversion can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/converting-images-to-pdf) section.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Merging PDF Files

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) allows you to easily create, read, edit, and merge PDF documents. This library provides a straightforward way to combine multiple PDF files into a single document.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) allows you to easily create, read, edit, and merge PDF documents. This library provides a straightforward way to combine multiple PDF files into a single document.

## Steps to merge PDF files

Follow these steps to merge PDF files using the Syncfusion library:
Follow these steps to merge PDF files using the Syncfusion® library:

Step 1: **Create a new project**: Start by creating a new C# Console Application project.

Expand Down Expand Up @@ -43,4 +43,4 @@ Step 4: **Merge PDF files**: Use the following code snippet in `Program.cs` to m

You can download a complete working sample from the [GitHub repository](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Merge%20PDFs/Merge-multiple-documents-from-stream/).

To explore additional features of the Syncfusion PDF library, click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the merge PDF can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/merge-documents) section.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# OCR on PDF Files

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) enables you to create, read, and edit PDF documents effortlessly. Additionally, the library provides OCR (Optical Character Recognition) capabilities, allowing you to extract text from scanned images within PDF files.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) enables you to create, read, and edit PDF documents effortlessly. Additionally, the library provides OCR (Optical Character Recognition) capabilities, allowing you to extract text from scanned images within PDF files.

## Steps to perform OCR on PDF files

Follow these steps to apply OCR to PDF files using the Syncfusion library:
Follow these steps to apply OCR to PDF files using the Syncfusion® library:

Step 1: **Create a new project**: Set up a new C# Console Application project.

Expand Down Expand Up @@ -48,4 +48,4 @@ Step 4: **Implement OCR Processing**: Use the following code snippet in `Program

For a complete working sample, you can download the example from the [GitHub repository](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/OCR/.NET/Perform-OCR-for-the-entire-PDF-document).

To explore more features of the Syncfusion PDF library, click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the OCR on PDF can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-ocr/features) section.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Convert PDF to PDF/A

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) provides tools for creating, reading, and editing PDF documents. Among its features, the library enables conversion of standard PDF files into the PDF/A format, suitable for long-term archiving and meeting archival standards.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) provides tools for creating, reading, and editing PDF documents. Among its features, the library enables conversion of standard PDF files into the PDF/A format, suitable for long-term archiving and meeting archival standards.

## Steps to convert a PDF to PDF/A

Follow these steps to convert a PDF document to PDF/A format using the Syncfusion library:
Follow these steps to convert a PDF document to PDF/A format using the Syncfusion® library:

Step 1: **Create a new project**: Start by creating a new C# Console Application project.

Expand Down Expand Up @@ -43,4 +43,4 @@ Step 4: **Convert PDF to PDF/A**: Implement the following code in `Program.cs` t

You can download a complete working sample from the [GitHub repository](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/PDF%20Conformance/Convert-PDF-to-PDFA-conformance-document).

To explore additional features of the Syncfusion PDF library, click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the PDF conformance can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-pdf-conformance) section.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Split PDF Files

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) allows for creating, reading, and editing PDF documents, as well as splitting them into separate files.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) allows for creating, reading, and editing PDF documents, as well as splitting them into separate files.

## Steps to split PDF files

Expand Down Expand Up @@ -47,4 +47,4 @@ Step 4: **Split the PDF file:** Implement the following code in **Program.cs** t

You can download a complete working sample from [GitHub repository](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Pages/Splitting-PDF-file-into-individual-pages/).

To explore additional features of the Syncfusion PDF library, click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the split PDF can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/split-documents) section.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Redacting PDF Files

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) allows users to create, read, and edit PDFs seamlessly. One of its key features is the ability to redact PDF content, enabling the permanent removal or hiding of sensitive information while maintaining the rest of the document's integrity.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) allows users to create, read, and edit PDFs seamlessly. One of its key features is the ability to redact PDF content, enabling the permanent removal or hiding of sensitive information while maintaining the rest of the document's integrity.

## Steps to Redact PDF Files

Expand Down Expand Up @@ -49,4 +49,4 @@ Step 4: **Implement redaction**: Use the following code in **Program.cs** to per

You can download a complete working example from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Redaction/Removing-sensitive-content-from-the-PDF-document/).

Discover more features of the Syncfusion PDF library [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the redacting PDF can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-redaction) section.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Protect PDF Files

The Syncfusion [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) provides tools for creating, reading, and editing PDF documents. It also allows you to protect your PDF files by applying encryption and setting password-based permissions.
The Syncfusion® [.NET Core PDF library](https://www.syncfusion.com/document-processing/pdf-framework/net-core/pdf-library) provides tools for creating, reading, and editing PDF documents. It also allows you to protect your PDF files by applying encryption and setting password-based permissions.

## Steps to Protect PDF Files

Expand Down Expand Up @@ -48,4 +48,4 @@ Step 4: **Implement encryption**: Use the following code in **Program.cs** to se

You can download a complete working example from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Security/Protect-an-existing-PDF-document/).

Explore more capabilities of the Syncfusion PDF library [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core).
More information about the protect PDF can be found in this [documentation](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-security) section.
Loading
Loading