AttachLinkToArea Method (ISketchManager)

AttachLinkToArea Method (ISketchManager) | Send Feedback
See Also Example

HyperLink[out]
  Hyperlink

StartCornerX
  x coordinate of start corner of rectangular area

StartCornerY
  y coordinate of start corner of rectangular area

StartCornerZ
  z coordinate of start corner of rectangular area

OppositeCornerX
  x coordinate of opposite corner of rectangular area

OppositeCornerY
  y coordinate of opposite corner of rectangular area

OppositeCornerZ
  z coordinate of opposite corner of rectangular area

HyperLinkAddress
  Address of the hyperlink

Description
  Description of the hyperlink

PolyLine3D[out]
  3D PolyLine entity on the URLLAYER Layer

Attaches the specified hyperlink to the specified rectangular area.

# Syntax

Visual Basic |
--- | ---
    Function AttachLinkToArea( _
       ByVal StartCornerX As System.Double, _
       ByVal StartCornerY As System.Double, _
       ByVal StartCornerZ As System.Double, _
       ByVal OppositeCornerX As System.Double, _
       ByVal OppositeCornerY As System.Double, _
       ByVal OppositeCornerZ As System.Double, _
       ByVal HyperLinkAddress As System.String, _
       ByVal Description As System.String, _
       ByRef PolyLine3D As PolyLine3D _
    ) As HyperLink

C# |
--- | ---
    HyperLink AttachLinkToArea(
       System.double StartCornerX,
       System.double StartCornerY,
       System.double StartCornerZ,
       System.double OppositeCornerX,
       System.double OppositeCornerY,
       System.double OppositeCornerZ,
       System.string HyperLinkAddress,
       System.string Description,
       out PolyLine3D PolyLine3D
    )

JavaScript |
--- | ---
    AttachLinkToArea(
       StartCornerX : Number,
       StartCornerY : Number,
       StartCornerZ : Number,
       OppositeCornerX : Number,
       OppositeCornerY : Number,
       OppositeCornerZ : Number,
       HyperLinkAddress : String,
       Description : String
    ) : {
       PolyLine3D : dsPolyLine3D,
       HyperLink : dsHyperLink
    }

COM native C++ |
--- | ---
    HRESULT AttachLinkToArea(
       DOUBLE StartCornerX,
       DOUBLE StartCornerY,
       DOUBLE StartCornerZ,
       DOUBLE OppositeCornerX,
       DOUBLE OppositeCornerY,
       DOUBLE OppositeCornerZ,
       BSTR HyperLinkAddress,
       BSTR Description,
       IPolyLine3D** PolyLine3D,
       IHyperLink** HyperLink
    )

C++ |
--- | ---
    DSRESULT AttachLinkToArea(
       double StartCornerX,
       double StartCornerY,
       double StartCornerZ,
       double OppositeCornerX,
       double OppositeCornerY,
       double OppositeCornerZ,
       const dsString& HyperLinkAddress,
       const dsString& Description,
       dsPolyLine3D** PolyLine3D,
       dsHyperLink** HyperLink
    )

#### Parameters

StartCornerX
  x coordinate of start corner of rectangular area
StartCornerY
  y coordinate of start corner of rectangular area
StartCornerZ
  z coordinate of start corner of rectangular area
OppositeCornerX
  x coordinate of opposite corner of rectangular area
OppositeCornerY
  y coordinate of opposite corner of rectangular area
OppositeCornerZ
  z coordinate of opposite corner of rectangular area
HyperLinkAddress
  Address of the hyperlink
Description
  Description of the hyperlink
PolyLine3D[out]
  3D PolyLine entity on the URLLAYER Layer
HyperLink[out] or Return Value
  Hyperlink

# Example

Create and Attach Hyperlink (C#)
Create and Attach Hyperlink (VB.NET)
Create and Attach Hyperlink (VBA)
Insert HyperLink (JavaScript)

# See Also

####

ISketchManager Interface
ISketchManager Members

# Availability

DraftSight V1R1.3