Set header/footer from local RTF file

Namespace:  SautinSoft
Assembly:  PdfMetamorphosis (in PdfMetamorphosis.dll) Version: 6.7.12.19

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.PdfMetamorphosis p = new SautinSoft.PdfMetamorphosis();
p.PageSettings.Header.FromRtfFile(@"d:\header.rtf");
CopyVB.NET
Dim p As New SautinSoft.PdfMetamorphosis()
p.PageSettings.Header.FromRtfFile("d:\header.rtf")

See Also