# Create and Process PDF Forms and Annotations

Create and Process PDF Forms and Annotations on Evotec with installation guidance, setup notes, reference details, and project documentation.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice)

Stars**750**

Forks**87**

Open issues**8**

PowerShell Gallery downloads**5533821**

Release**v3.6.2**

Language: C# Updated: 2026-11-28

Documentation

Create interactive form fields, inspect and fill existing forms, manage annotations, and flatten only when the delivery policy requires it.

PDF forms are interactive data structures, not just boxes painted on a page. Keep them interactive while recipients must enter or review values, then flatten a delivery copy only when editing must stop.

## Author fields in the PDF DSL

`PdfFormField` supports text, check box, choice, multi-select choice, and radio-button fields inside a generated document. Name every field predictably so later automation can inspect or fill it.

```powershell
PdfFormField -Name Reviewer -Type Text -Value 'Unassigned' -Width 320 -Height 24
PdfFormField -Name Decision -Type Choice -Options Approve,Reject,Defer -Value Defer
```

The [forms recipe](https://github.com/EvotecIT/PSWriteOffice/blob/main/Examples/Pdf/Recipe-Pdf-Forms.ps1) creates text, choice, and check-box fields in one composition block.

## Fill, inspect, or flatten

Use `Set-OfficePdfForm` to fill existing fields and `Get-OfficePdfFormField` to read them back. `ConvertTo-OfficePdfFlatForm` makes field appearances part of page content. For annotations, use `Get-OfficePdfAnnotation`, `Set-OfficePdfAnnotation`, `Remove-OfficePdfAnnotation`, and `ConvertTo-OfficePdfFlatAnnotation` according to the review lifecycle.

Flattening is a one-way delivery decision for the output copy. Preserve the interactive source when the workflow may need another review round.

<!-- PowerForge markdown artifact sha256:322A75CCD106B396AB44C5C1682E9B457013A7828A9F5A21DB26B865A9BF9A44 -->
