CODController::OnInsertSymbol

voidCODController::OnInsertSymbol(CODComponent*pSymbolInsert)

Called to insert a symbol component into the diagram.

Defined in: OdController.cpp

Return Value

void

Parameters

pSymbolInsert

A pointer to the symbol to insert.

Comments

This function starts the process of adding a symbol to the canvas. The symbol to insert is passed into this function. The symbol is added to the canvas when the next left button up message is received. The symbol is added at the location of the mouse click event. The function  OnDrawSymbol is similar to this function, but it allows the user to draw a tracking rectangle which is used to set both the position and size of the symbol.