Adds a Section to this Section and returns it.

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

Syntax

C#
public virtual Section AddSection(
	string title,
	int numberDepth
)
Visual Basic
Public Overridable Function AddSection ( _
	title As String, _
	numberDepth As Integer _
) As Section
Visual C++
public:
virtual Section^ AddSection(
	String^ title, 
	int numberDepth
)

Parameters

title
Type: System..::..String
the title of the new section
numberDepth
Type: System..::..Int32
the numberDepth of the section

Return Value

the newly added Section

See Also