Insert a navPoint in the NCX navMap for a new document. The new navPoint is inserted after the given navPoint and the playOrder of the following navPoint and all subsequent navPoints are renumbered (i.e. their playOrders are incremented). The new navPoint has an id set to the given value, its navLabel/text value, i.e. the text displayed to the user to identify the document, is set to the value of the text parameter. The 'src' attribute of the content element is set to the path held in the src parameter.

Namespace:  net.hazelhurst.epub
Assembly:  ePubLib (in ePubLib.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void InsertAfter(
	string id,
	string newId,
	string text,
	string src
)
Visual Basic (Declaration)
Public Sub InsertAfter ( _
	id As String, _
	newId As String, _
	text As String, _
	src As String _
)
Visual C++
public:
void InsertAfter(
	String^ id, 
	String^ newId, 
	String^ text, 
	String^ src
)

Parameters

id
Type: System..::.String
The id attribute of the navPoint after which the new navPoint should be inserted.
newId
Type: System..::.String
The id attribute of the new navPoint.
text
Type: System..::.String
The navLabel/text value that will be held for the new navPoint. This text is displayed to the reader as a line in the table of contents.
src
Type: System..::.String
The value to be applied to the 'src' attribute of the new navPoint. This gives the name of the content document to which the navPoint refers.

See Also