CODModel::SetBkgndComponent

voidCODModel::SetBkgndComponent(CODComponent*pBkgndComponent, BOOLbRefCount)

Sets the background component of the diagram. Note that the component will now be owned by the diagram model and destroyed when the model is destroyed.

Defined in: OdModel.cpp

Return Value

void

Parameters

pBkgndComponent

A pointer to the background component.

bRefCount

TRUE indicates the component should be reference counted (i.e. AddRef() called when the component is set and Release() called when the component is replaced or the model is destroyed).