Skip to main content
A newer version of this page is available.
All docs
V18.2

SubDocument.CreateHyperlink(DocumentRange) Method

OBSOLETE

This method has become obsolete. Use the 'Create' method instead.

Creates a hyperlink for the specified document range.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v18.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
)

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