BCGSuite for MFC
virtual CBCGPDiagramTextDataObject* CBCGPDiagramVisualObject::GetPartTextData ( UINT  nPartID)

Retrieves the text data object of the diagram item.

nPartIDA data object identifier. This parameter is ignored in the default implementation.
Returns a pointer to text data of the diagram item if succeeded, NULL if text data is not found.

The default implementation of this virtual method ignores this parameter and always returns the text data object for text label of the diagram item.

This method may be overridden in CBCGPDiagramVisualObject - derived classes to support custom text data objects.

See also

Reimplemented in CBCGPDiagramTableShape.