Produce only RTF fragment without document header, font table, color and style tables.
Download Remote Images or skip them.

Namespace:  SautinSoft
Assembly:  SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version:


 C#  Visual Basic 
public bool PreserveHttpImages { get; set; }
Public Property PreserveHttpImages As Boolean


This feature would be helpful when you are inserting small RTF fragments to a database or current RTF documents. Produced RTF fragments don't contain any font or color formatting.

Default value: false.


By default the PreserveHttpImages is set to True, it means that the component will try to download images which linked to the Internet, for example:

<img src="" >

To switch off the downloading images from Internet set this property to False.
Also if you have any issues with images, the property [!:SautinSoft.HtmlToRtf.CreateTraceFile] will be helpful.


SautinSoft.HtmlToRtf h = new SautinSoft.HtmlToRtf();
h.PreserveHttpImages = false;
Dim h As New SautinSoft.HtmlToRtf()
h.PreserveHttpImages = False

See Also