Adds a user defined header to the document.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public bool AddHeader(
	string name,
	string content
)
Visual Basic
Public Function AddHeader ( _
	name As String, _
	content As String _
) As Boolean
Visual C++
public:
bool AddHeader(
	String^ name, 
	String^ content
)

Parameters

name
Type: System..::..String
the name of the header
content
Type: System..::..String
the content of the header

Return Value

true if successful, false otherwise

See Also