Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficeHtmlRtfOptions

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Word.Html.HtmlWordExportOptions

Creates native HTML/CSS import settings for the HTML-to-Word-to-RTF route.

Syntax

New-OfficeHtmlRtfOptions
[-BasePath <String>]
[-Font <String>]
[-StylesheetContent <String[]>]
[-StylesheetPath <String[]>]
[<CommonParameters>]
#
Parameter set: Default

Examples

Example 1

New-OfficeHtmlRtfOptions -BasePath 'C:\Path'

Parameters

-BasePath String optional
Base directory or URI used to resolve resources.
-Font String optional
Default font family for imported HTML.
-StylesheetContent String[] optional
Additional stylesheet source text.
-StylesheetPath String[] optional
Literal stylesheet files applied to the imported HTML.

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.