Table of Contents

Method Resolve

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Says where a hyperlink leads. An address with a scheme (https:, ftp:) or starting www. is a web address, one starting mailto: a mail address; no address with a place named is a view of the drawing; any other address is a file, a relative path one made from the drawing's hyperlink base (HyperlinkBase) or, where the base is empty, the folder of the drawing's file.

public static CadHyperlinkTarget Resolve(CadDocument document, DxfHyperLink link)

Parameters

document CadDocument

The document the hyperlink is in.

link DxfHyperLink

The hyperlink.

Returns

CadHyperlinkTarget

Where it leads.

Exceptions

ArgumentNullException

Thrown when the document or the hyperlink is null.