Set header/footer from any HTML string

Namespace:  SautinSoft
Assembly:  SautinSoft.PdfVision (in SautinSoft.PdfVision.dll) Version: 5.1.2.13

Syntax

      
 C#  Visual Basic 
public void FromHtmlString(
	string html
)
Public Sub FromHtmlString ( _
	html As String _
)

Parameters

html
String
Any string in HTML format or even simple text

Remarks

You may use here any string in HTML format or even simple text.

If HTML string contains links to .css files or to images, please be sure that links are not relative. Links have to be full, like this: <img src="http://www.mysite.com/images/picture1.jpg" >.

Examples

CopyC#
SautinSoft.PdfVision v = new SautinSoft.PdfVision();
v.PageHeader.FromHtmlString("Some text");
CopyVB.NET
Dim v As New SautinSoft.PdfVision()
v.PageHeader.FromHtmlString("Some text")

See Also