API Reference

Cmdlet

New-OfficePdfTableCellImage

Aliases: PdfTableCellImage
Namespace PSWriteOffice
Aliases
PdfTableCellImage
Outputs
OfficeIMO.Pdf.PdfTableCellImage

Creates a typed image for a PDF table cell.

Remarks

Creates a typed image for a PDF table cell.

Examples

Authored help example

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 Sets

Parameters

Height Double requiredposition: namedpipeline: False
Rendered height in PDF points.
LinkContents String optionalposition: namedpipeline: False
Accessible annotation text for the image link.
LinkUri String optionalposition: namedpipeline: False
Optional absolute or catalog-base-relative URI linked from the image.
Path String requiredposition: 0pipeline: Falsealiases: ImagePath
Raster image path.
Width Double requiredposition: namedpipeline: False
Rendered width in PDF points.

Outputs

OfficeIMO.Pdf.PdfTableCellImage