Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > Element > InsertHyperlinkAfter

InsertHyperlinkAfter Method



Signature:

public Hyperlink InsertHyperlinkAfter ( String url , String display )

Description:

Creates and returns a Hyperlink at the beginning of this Element. This hyperlink will have the specified url and displayed text.

Parameters:

url     A String representing the url to link to.
display     A String representing the text that will displayed in the document for this hyperlink.

Returns:

Hyperlink A Hyperlink object representing the newly created hyperlink.

Exceptions:

System.Exception    

Examples:

[csharp]
Hyperlink link = e.InsertHyperlinkAfter("http://www.softartisans.com", "SoftArtisans");
[vbnet]
Dim link As Hyperlink = e.InsertHyperlinkAfter("http://www.softartisans.com", "SoftArtisans")



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.