API Reference
Cmdlet
New-OfficePdfTableCellImage
Creates a typed image for a PDF table cell.
Remarks
Creates a typed image for a PDF table cell.
Examples
Example 1: Add a linked logo to a typed PDF table cell.
PS>
$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.
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.
Syntax
New-OfficePdfTableCellImage -Height <Double> [-LinkContents <String>] [-LinkUri <String>] -Path <String> -Width <Double> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- 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.
Outputs
OfficeIMO.Pdf.PdfTableCellImage