Object 39 "Hyperlink" (Entity Type "Object") Changed in Version 2021.0

www.CAD6.com

A hyperlink is a surface containing a textual link information that can be "executed". The hyperlink is only visible on the screen, it will not be output to printers. The hyperlink contains a text data block containing the hyperlink information, followed by data block defining the surface.

 

 

In a hyperlink, the filling mode "Eraser" stands for "invisible" and not for "filled with background color".

 

Data Block Sequence

Data Block 110( Text )

 

This data block is followed by a sequence of data blocks identical to those stored in an object of type "Surface", see Object 13 "Surface".

 

Parameters

Text

[MKI_STRLONGW] Hyperlink text (file name or URL). Its length may be up to MKI_LENGTH_TEXT_LONG characters including the terminating zero character (0x00). It should contain either a valid filename (such as C:\Data\MyDocument.pdf) or a valid URL (such as https:\\www.CAD6.com\index.htm).

 

Interface Command Sequence

MKI_ObjectOpen, Type = MKI_OBJ_HYPERLINK

MKI_ObjectAddTextLong, StaticLength = false

MKI_ObjectAddPoint, Type = MKI_DB_POINT_START

         ...

MKI_ObjectAddPoint, Type = MKI_DB_POINT_END

         ...

MKI_ObjectAddPoint, Type = MKI_DB_POINT_PIVOT1

MKI_ObjectAddPoint, Type = MKI_DB_POINT_PIVOT2

MKI_ObjectAddPoint, Type = MKI_DB_POINT_END

         ...

MKI_ObjectAddPoint, Type = MKI_DB_POINT_ARC

MKI_ObjectAddCurve

         ...

MKI_ObjectFastInsert

 

Use the MKI_PARSE_OBJ_HYPERLINK class to parse the data blocks of such an object in memory.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH