Download Remote Images

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

Syntax

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

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