Cmdlet
New-OfficePdfTableCellImage
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 SetsExamples
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 $logoThe image remains a native PDF table-cell visual and may carry its own link.
Parameters
- -Height Double
- Rendered height in PDF points.
- -LinkContents String
- Accessible annotation text for the image link.
- -LinkUri String
- Optional absolute or catalog-base-relative URI linked from the image.
- -Path String
- Raster image path.
- -Width Double
- 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.