InsertEmbeddedObjectFromFile Method (ISketchManager)
Adds an embedded object to the document based on the specified file.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertEmbeddedObjectFromFile( _
const dsString& FilePath As System.String, _
bool Link As System.Boolean, _
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
- EmbeddedObject[out] or Return Value
- IEmbeddedObject
Example
Remarks
See Also
Availability
DraftSight V1R1.4