Inserts a file as an Attachment to this document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertAttachment( _
ByVal FileName As String, _
ByVal Linked As Boolean _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim FileName As String
Dim Linked As Boolean
Dim value As Boolean
value = instance.InsertAttachment(FileName, Linked)
|
Parameters
- FileName
- Path and filename of file to insert as an Attachment to this document
- Linked
- True to link the document to the file, false to not
Return Value
True if the file is inserted as an Attachment, false if not
See Also
Availability
SolidWorks 2005 FCS, Revision Number 13.0