# Add-OfficePdfStamp

Adds a text or image stamp to an existing PDF. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice API Reference.

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/0.2.0)

Stars **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

Aliases: PdfStamp

**Module**

`PSWriteOffice`

**Aliases**

`PdfStamp`

**Inputs**

`None`

**Outputs**

`System.IO.FileInfo`

**Source**

[AddOfficePdfStampCommand.cs:33](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Pdf/AddOfficePdfStampCommand.cs#L33) 

Adds a text or image stamp to an existing PDF.

## Syntax

```
Add-OfficePdfStamp
[-Color <String>]
[-FontSize <Double>]
[-IgnorePermissionRestrictions]
-OutputPath <String>
[-PageRange <String>]
[-PassThru]
[-Password <String>]
-Path <String>
[-Rotation <Double>]
-Text <String>
[-Watermark]
[-X <Double>]
[-Y <Double>]
[<CommonParameters>]
```

[#](#method-add-officepdfstamp-string-double-switchparameter-string-string-switchparameter-string-string-double-string-switchparameter-double-double)

Parameter set: `Text`

```
Add-OfficePdfStamp
[-Height <Double>]
[-IgnorePermissionRestrictions]
-Image <String>
-OutputPath <String>
[-PageRange <String>]
[-PassThru]
[-Password <String>]
-Path <String>
[-Rotation <Double>]
[-Watermark]
[-Width <Double>]
[-X <Double>]
[-Y <Double>]
[<CommonParameters>]
```

[#](#method-add-officepdfstamp-double-switchparameter-string-string-string-switchparameter-string-string-double-switchparameter-double-double-double)

Parameter set: `Image`

## Description

Stamps are existing-PDF operations. Use text stamps for review labels and image stamps for logos or approval marks. Use -Watermark when the stamp should be placed behind existing page content.

## Examples

### Add a review stamp to selected pages.

```powershell
$proof = @(
    Add-OfficePdfStamp -Path .\Examples\Documents\Report.pdf -OutputPath .\Examples\Documents\Stamped.pdf -Text 'REVIEWED' -Color '#0F766E' -FontSize 24 -Rotation 12 -PageRange '1-2'
    Get-OfficePdfPreflight -Path .\Examples\Documents\Stamped.pdf
)
$proof
```

Adds a text stamp to the first two pages and preflights the result.

### Add an image watermark.

```powershell
$logo = '.\Tests\Assets\CellImage.png'
Add-OfficePdfStamp -Path .\Examples\Documents\Report.pdf -OutputPath .\Examples\Documents\Watermarked.pdf -Image $logo -Width 160 -Watermark
```

Adds a logo behind existing content as a watermark.

## Parameters

**-Color String optionalsets: Text**

Text color. Named colors and hexadecimal values are accepted.

**-FontSize Double optionalsets: Text**

Font size for text stamps.

**-IgnorePermissionRestrictions SwitchParameter optional**

After successful password authentication, explicitly ignore owner-imposed usage restrictions. This does not discover, bypass, or crack a missing password.

**-OutputPath String required**

Output PDF path.

**-PageRange String optional**

Stamp selected pages, for example 1-3,5. Omit to stamp every page.

**-PassThru SwitchParameter optional**

Emit the object created or changed by the command.

**-Password String optional**

Password used to authenticate an encrypted input PDF.

**-Path String requiredaliases: FilePath**

Input PDF path.

**-Rotation Double optional**

Rotation in degrees.

**-Text String requiredsets: Text**

Text to stamp.

**-Watermark SwitchParameter optional**

Place the stamp behind existing content as a watermark.

**-X Double optional**

X coordinate in PDF points.

**-Y Double optional**

Y coordinate in PDF points.

**-Height Double optionalsets: Image**

Rendered image height in PDF points.

**-Image String requiredaliases: ImagePathsets: Image**

Image path to stamp.

**-Width Double optionalsets: Image**

Rendered image width in PDF points.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:ACBD4F9BF75BC871BD6D1D9176D8397A998289589FE0CA90723566513DC40169 -->
