DynPicture.InsertSymbol



InsertSymbol(bsName As String,bsLibrary As String,bLinked As Boolean) As Element

Parameters

bsName As String
Name of the symbol within the library.
bsLibrary As String
Name of the library.
bLinked As Boolean
If set TRUE the symbol constitutes a linked symbol. Otherwise the symbol will be embedded.
ED
avaliable
RT
not used

Remarks

Insert a symbol from the symbol-library by its name as string.

Sample


Sub zenOn_DynPicture_InsertSymbol()
	'Declarations
	Dim zPic As DynPicture

	'Initialize zPic with the start picture
	Set zPic = MyWorkspace.ActiveDocument.DynPictures.Item("START")

	'Insert linked symbol "Brake motor" from the category "F_Motors" to the start picture
	zPic.InsertSymbol "Brake motor", "F_Motors", True

End Sub


See Also

DynPicture, Element