agentleFS
aspose-pdfaspose-pdf/agentic-net-examples/facades-acroforms/AGENTS.md

agentic-net-examples / facades-acroforms

AGENTS.md2 starsChanged 4 months agoMITView on GitHub

C# examples for facades-acroforms using Aspose.PDF for .NET

The file

Files
AGENTS.md

AGENTS - facades-acroforms

Facades AcroForms in PDF using C# / .NET -- 41 verified, compile-tested examples for Aspose.PDF for .NET 26.8.0. Each .cs file is a standalone, build-validated console example, generated and runtime-checked by an AI agent before publishing.

Persona

You are a C# developer specializing in PDF processing using Aspose.PDF for .NET, working within the facades-acroforms category. This folder contains standalone C# examples for facades-acroforms operations. See the root agents.md for repository-wide conventions and boundaries.

Scope

  • This folder contains examples for facades-acroforms.
  • Files are standalone .cs examples stored directly in this folder.

Required Namespaces

  • using Aspose.Pdf.Facades; (40/41 files) ← category-specific
  • using Aspose.Pdf; (11/41 files)
  • using Aspose.Pdf.Forms; (3/41 files)
  • using Aspose.Pdf.Text; (1/41 files)
  • using System; (41/41 files)
  • using System.IO; (39/41 files)
  • using System.Collections.Generic; (11/41 files)
  • using System.Text.Json; (8/41 files)
  • using System.Linq; (3/41 files)
  • using System.Text; (3/41 files)
  • using System.Threading.Tasks; (2/41 files)
  • using System.Xml; (2/41 files)
  • using Newtonsoft.Json; (1/41 files)
  • using System.Collections; (1/41 files)
  • using System.Text.Json.Nodes; (1/41 files)
  • using System.Threading; (1/41 files)
  • using System.Xml.Linq; (1/41 files)
  • using System.Xml.Schema; (1/41 files)
  • using System.Xml.Xsl; (1/41 files)

Common Code Pattern

Most files in this category use Form from Aspose.Pdf.Facades:

Form tool = new Form();
tool.BindPdf("input.pdf");
// ... Form operations ...
tool.Save("output.pdf");

Files in this folder

FileTitleKey APIsDescription
add-radio-button-group-to-pdfAdd Radio Button Group to PDF with Default SelectionFormEditor, AddField, SaveDemonstrates using Aspose.Pdf.Facades.FormEditor to insert a radio button group with three option...
add-text-field-to-pdfAdd Text Field to PDF Using FormEditorFormEditor, AddField, SaveDemonstrates how to insert a new text field at specific coordinates on a PDF page using Aspose.Pd...
async-export-pdf-form-data-to-xmlAsynchronously Export PDF Form Data to XMLForm, ExportXmlDemonstrates exporting AcroForm fields from a PDF to an XML file using async/await to keep the UI...
batch-export-pdf-form-data-to-xmlBatch Export PDF Form Data to XMLDocument, FormEditor, FormLoops through PDF files in a folder, loads each document, and uses the FormEditor and Form facade...
batch-import-json-data-into-pdfsBatch Import JSON Data into PDFs in ParallelForm, ImportJson, SaveDemonstrates importing form field values from matching JSON files into PDF documents using Aspose...
combine-acroform-json-exportsCombine AcroForm JSON Exports from Multiple PDFsForm, ExportJsonThe example loads several PDF files, uses Aspose.Pdf.Facades.Form to export each document's AcroF...
create-pdf-form-fields-reportCreate PDF Report of AcroForm FieldsDocument, Page, TableDemonstrates how to enumerate AcroForm fields in a PDF and generate a new PDF containing a table ...
export-filter-pdf-form-fields-xfdfExport and Filter PDF Form Fields to XFDFDocument, Form, ExportXfdfShows how to export AcroForm fields from a PDF to XFDF, keep only those whose names start with "C...
export-import-acroform-xfdfExport and Import AcroForm Data via XFDFDocument, Form, FillFieldShows how to fill AcroForm fields, export the data to an XFDF file, import the XFDF back into a f...
export-import-pdf-form-fields-utf8Export and Import PDF Form Fields with UTF-8 EncodingDocument, Form, ExportXfdfDemonstrates exporting AcroForm field values to an XFDF file and re‑importing them using UTF‑8 st...
export-pdf-form-data-to-fdfExport PDF Form Data to FDF FileForm, ExportFdfDemonstrates using the Aspose.Pdf.Facades.Form class to export all AcroForm field values from a P...
export-pdf-form-data-to-json-chunksExport PDF Form Data to JSON and Split into ChunksForm, ExportJsonDemonstrates how to export AcroForm fields from a PDF to a JSON document using Aspose.Pdf and the...
export-pdf-form-data-to-jsonExport PDF Form Data to JSON and DeserializeForm, ExportJson, DisposeShows how to export AcroForm fields from a PDF to a JSON string using Aspose.Pdf.Facades.Form and...
export-pdf-form-data-to-xml-memorystreamExport PDF Form Data to XML Using MemoryStreamForm, ExportXml, CloseShows how to export AcroForm field data from a PDF directly into a memory stream as XML, eliminat...
export-pdf-form-data-to-xmlExport PDF Form Data to XMLForm, ExportXmlDemonstrates how to use Aspose.Pdf.Facades.Form to export all AcroForm field values from a PDF do...
export-pdf-form-fields-to-jsonExport PDF Form Fields to JSON and Verify StructureDocument, Form, ExportJsonShows how to export AcroForm field values from a PDF to a JSON file using Aspose.Pdf's Form facad...
export-pdf-form-fields-to-xfdfExport PDF Form Fields to XFDFForm, ExportXfdfDemonstrates how to use Aspose.Pdf.Facades.Form to export AcroForm data from a PDF into an XFDF f...
export-pdf-form-to-xml-htmlExport PDF Form Data to XML and Convert to HTML with XSLTForm, ExportXmlShows how to export AcroForm fields from a PDF to an XML file using Aspose.Pdf.Facades.Form and t...
export-selected-acroform-fields-to-jsonExport Selected AcroForm Fields to JSONDocument, Form, ExportJsonShows how to export only specific form fields from a PDF AcroForm to a JSON file by exporting the...
export-text-acroform-field-names-to-jsonExport Text AcroForm Field Names to JSONForm, FieldNames, GetFieldTypeThe example opens a PDF, filters AcroForm fields to include only text fields, and writes the fiel...
extract-pdf-form-field-namesExtract PDF Form Field Names to JSONForm, FieldNames, DisposeShows how to open a PDF using Aspose.Pdf.Facades.Form, retrieve all AcroForm field names, and out...
fill-pdf-acroform-fieldsFill PDF AcroForm Fields and SaveForm, FillField, SaveShows how to open a PDF, populate AcroForm fields from a dictionary, and save the updated documen...
fill-pdf-form-fields-from-jsonFill PDF Form Fields from JSON using Aspose.PdfForm, FillField, SaveShows how to read a JSON file into a dictionary, map its keys to AcroForm field names, fill those...
fill-textbox-field-in-pdfFill TextBox Field in PDF using Aspose.PdfForm, FillField, SaveShows how to open a PDF, fill a specific AcroForm textbox field with a string using Form.FillFiel...
get-selected-radio-button-valueGet Selected Radio Button Value from PDF FormForm, GetButtonOptionCurrentValueDemonstrates how to open a PDF form with Aspose.Pdf.Facades and retrieve the currently selected o...
import-fdf-data-into-pdf-formImport FDF Data into PDF FormForm, ImportFdf, SaveShows how to open a PDF form, import field values from an FDF file using a file stream, and save ...
import-form-data-from-jsonImport Form Data from JSON into PDF (Ignore Missing Fields)Form, ImportJson, SaveDemonstrates loading a PDF form, importing field values from a JSON file with Aspose.Pdf.Facades....
import-form-fields-from-xmlImport Form Field Values from XML into PDFForm, ImportXml, SaveShows how to load a PDF containing AcroForm fields, import field values from an XML file using Fo...
import-json-data-into-pdf-acroformImport JSON Data into PDF AcroFormForm, ImportJson, SaveShows how to serialize a C# object to JSON, place it in a memory stream, and import the data into...
import-json-data-into-pdf-formImport JSON Data into PDF Form FieldsForm, BindPdf, ImportJsonShows how to load a JSON file containing form field values and import them into an existing PDF u...
...and 11 more files

Category Statistics

  • Total examples: 41

General Tips

  • See parent AGENTS.md for:
    • Boundaries -- Always / Ask First / Never rules for all examples
    • Common Mistakes -- verified anti-patterns that cause build failures
    • Domain Knowledge -- cross-cutting API-specific gotchas
    • Testing Guide -- build and run verification steps
  • Review code examples in this folder for facades-acroforms patterns
<!-- AUTOGENERATED:START -->

Updated: 2026-08-20 | Run: 20260820_001147_12d7b3

<!-- AUTOGENERATED:END -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.