Skip to main content

SubDocument.CreateHyperlink(DocumentRange) Method

Obsolete. Creates a hyperlink for the specified document range.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v14.2.Core.dll

Declaration

[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.HyperlinkCollection.Create(DocumentRange range)' method instead.")]
Hyperlink CreateHyperlink(
    DocumentRange range
)
<Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.HyperlinkCollection.Create(DocumentRange range)' method instead.")>
Function CreateHyperlink(
    range As DocumentRange
) As Hyperlink

Parameters

Name Type Description
range DocumentRange

A DocumentRange object representing a range associated with the hyperlink.

Returns

Type Description
Hyperlink

A Hyperlink interface exposing the created hyperlink.

Remarks

The CreateHyperlink method creates a hyperlink with the specified Hyperlink.Range and other characteristics set to null. Use Hyperlink properties to adjust the newly created hyperlink, as required.

See Also