OfficeIMO

API Reference

Command

Add-OfficeWordHyperlink

Namespace PSWriteOffice
Inputs
OfficeIMO.Word.WordParagraph
Outputs
OfficeIMO.Word.WordHyperLink

Adds a hyperlink to the current Word paragraph.

Remarks

Adds a hyperlink to the current Word paragraph.

Examples

Add an external hyperlink.


PS>Add-OfficeWordParagraph { Add-OfficeWordHyperlink -Text 'Example' -Url 'https://example.org' -Styled }
        

Creates a styled external hyperlink in the active paragraph.

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