Set header/footer from local RTF file

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

Syntax

      
 C#  Visual Basic 
public void FromRtfFile(
	string path
)
Public Sub FromRtfFile ( _
	path As String _
)

Parameters

path
String
Path to local RTF file

Remarks

This method is very usefull when you want to insert header/footer from existing RTF document



Examples

CopyC#
SautinSoft.HtmlToRtf h = new SautinSoft.HtmlToRtf();
h.PageStyle.PageHeader.FromRtfFile(@"d:\header.rtf");
CopyVB.NET
Dim h As New SautinSoft.HtmlToRtf()
h.PageStyle.PageHeader.FromRtfFile("d:\header.rtf")

See Also