InsertEmbeddedObjectFromFile Method (ISketchManager)
Adds an embedded object to the document based on the specified file.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertEmbeddedObjectFromFile( _
BSTR FilePath As System.String, _
VARIANT_BOOL Link As System.Boolean, _
VARIANT_BOOL DisplayAsIcon As System.Boolean _
) As EmbeddedObject |
Parameters
- FilePath
- Path and file name of the embedded object to insert
- Link
- True to insert a picture of the original file into the drawing, false to insert the contents of the file into the drawing (see Remarks)
- DisplayAsIcon
- True to display the application icon in the drawing, false to display it in the data
Parameters
- EmbeddedObject[out] or Return Value
- IEmbeddedObject
Example
Remarks
See Also
Availability
DraftSight V1R1.4