CODModel::SetBkgndComponent

void CODModel::SetBkgndComponent(CODComponent* pBkgndComponent, BOOL bRefCount)

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).