Hide Table of Contents
AttachLinkToArea Method (ISketchManager)

Attaches the specified hyperlink to the specified rectangular area.

.NET Syntax

Visual Basic (Declaration) 
Function AttachLinkToArea( _
   double StartCornerX As System.Double, _
   double StartCornerY As System.Double, _
   double StartCornerZ As System.Double, _
   double OppositeCornerX As System.Double, _
   double OppositeCornerY As System.Double, _
   double OppositeCornerZ As System.Double, _
   const dsString& HyperLinkAddress As System.String, _
   const dsString& Description As System.String, _
   dsPolyLine3D** 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

 

See Also

Availability

DraftSight V1R1.3


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   AttachLinkToArea Method (ISketchManager)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:




x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2019 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.