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: 7.1.4.17

Syntax

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

Remarks

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.

Remarks

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="http://mysite.com/pict.jpg" >

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.



Examples

CopyC#
SautinSoft.HtmlToRtf h = new SautinSoft.HtmlToRtf();
h.PreserveHttpImages = false;
CopyVB.NET
Dim h As New SautinSoft.HtmlToRtf()
h.PreserveHttpImages = False

See Also