Project

PSWriteOffice

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

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

New-OfficePdfTableCellImage

Aliases: PdfTableCellImage
Module
PSWriteOffice
Aliases
PdfTableCellImage
Inputs
None
Outputs
OfficeIMO.Pdf.PdfTableCellImage

Creates a typed image for a PDF table cell.

Syntax

New-OfficePdfTableCellImage
-Height <Double>
[-LinkContents <String>]
[-LinkUri <String>]
[-Path] <String>
-Width <Double>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Add a linked logo to a typed PDF table cell.

$logo = New-OfficePdfTableCellImage -Path .\logo.png -Width 28 -Height 28 -LinkUri 'https://example.com'
$cell = New-OfficePdfTableCell -Text 'Portal' -Image $logo

The image remains a native PDF table-cell visual and may carry its own link.

Parameters

-Height Double required
Rendered height in PDF points.
-LinkContents String optional
Accessible annotation text for the image link.
-LinkUri String optional
Optional absolute or catalog-base-relative URI linked from the image.
-Path String requiredposition: 0aliases: ImagePath
Raster image path.
-Width Double required
Rendered 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.