LinkType Property

Read-only. A Long value, indicating the type of the hyperlink.

Applies to: Hyperlink object

Syntax

[[Let] linkTypeRet =] object.LinkType

The LinkType property syntax has these parts:

Part Description
object Required. An expression, that returns an instance of the Hyperlink object.
linkTypeRet Optional. A Long type variable.

Remarks

The LinkType can have the following values:

Constant Value Description
cdLinkNone 0 The Hyperlink object has no hyperlink (the hyperlink doesn't point to anything).
cdLinkToFile 1

The hyperlink points to a local file, which is either a ConceptDraw document, or a file of any other supported format. If the hyperlink points to a ConceptDraw document, it may also indicate a page and a shape inside this document, which are described by the PageID and ShapeID properties respectively.

cdLinkToURL 2 The hyperlink points to an Internet address (URL).
cdLinkToPageShape 3 The hyperlink points to a page or a shape inside the same document. The page and the shape are described by the PageID and ShapeID properties respectively.

 

See Also

ID property, PageID property, ShapeID property