Skip to main content

TdxRtfDocumentExporterCompatibilityOptions.DuplicateObjectAsMetafile Property

Specifies a value indicating whether the inline objects are saved in an exported RTF document file twice.

Declaration

property DuplicateObjectAsMetafile: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

The RTF file specification allows saving embedded pictures twice – both in the native format and as a metafile.

By default, the Rich Edit control saves a picture only in the original format. To enable compatibility with applications that cannot load inline pictures in the original format, you can set the DuplicateObjectAsMetafile property to True.

Note

Exporting the embedded pictures both as metafiles and in the original format increases the size of the resulting RTF files.

The default value of the DuplicateObjectAsMetafile property is False.

See Also