Solid Edge FrameworkSupport Type Library
CreateLink Method
Specifies the file name of the document from which the object will be created. If not specified, it is assumed to be the current document.
Specifies the data within the file to be linked in the linked object. If not specified, it is assumed to be the entire document.
Description
Creates a linked object from the contents of a file.
Syntax
Visual Basic
Public Sub CreateLink( _
   Optional ByVal SourceDoc As Variant, _
   Optional ByVal SourceItem As Variant _
) 
Parameters
SourceDoc
Specifies the file name of the document from which the object will be created. If not specified, it is assumed to be the current document.
SourceItem
Specifies the data within the file to be linked in the linked object. If not specified, it is assumed to be the entire document.
Remarks
If an object is already occupying the frame, the object is replaced. The SourceDoc and the SourceItem concatenated together but separated by an exclamation point (!) or a backslash (\) represent the OLE moniker used to find the object. This will be stored in the LinkMoniker property (for example, "C:\Work\Document1.dft!Sheet1.$1020303786").
See Also

SmartFrame2d Object  | SmartFrame2d Members

Send comments on this topic.