Click or drag to resize

RtfSaveOptions Class

Represents options for saving to Rich Text (RTF) format.
Inheritance Hierarchy

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version:
public sealed class RtfSaveOptions : SaveOptions

The RtfSaveOptions type exposes the following members.

Public methodRtfSaveOptions
Initializes a new instance of the RtfSaveOptions class.
Public propertyContentType
Gets the content-type for RTF file format: application/rtf.
(Overrides SaveOptionsContentType.)
Public propertyEncoding
Gets or sets the encoding for the RTF file.
Public propertyExportPictureWithMetafile
RTF supports inclusion of JPEG, PNG, EMF, WMF, Apple PICT, Windows bitmap and OS/2 Metafile picture types. Not all of these picture types are supported in all RTF readers. When a RTF document is opened in software that does not support the picture type of an inserted picture, such picture is not displayed at all. For better compatibility with some Microsoft applications (e.g. Wordpad) two copies of the graphic are saved in the document. Graphics are saved in the applicable EMF, PNG, GIF, or JPEG format and are also converted to WMF (Windows Metafile) format. Property gets or sets the flag indicating whether to create a Windows Metafile (WMF) copy of the original picture when saving the DocumentModel instance.
See Also