API Reference
Cmdlet
Get-OfficeRtf
Reads RTF into OfficeIMO's semantic and lossless syntax models.
Remarks
Reads RTF into OfficeIMO's semantic and lossless syntax models.
Examples
Inspect an RTF document.
PS>
$rtf = Get-OfficeRtf -Path .\Report.rtf
$rtf.Document.Paragraphs[0].ToPlainText()
Reads an RTF file and returns the OfficeIMO RTF read result.
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.