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

Retrieves the text data object of the diagram item.

Parameters
nPartIDA data object identifier. This parameter is ignored in the default implementation.
Returns
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
CBCGPDiagramTableShape::GetPartTextData

Reimplemented in CBCGPDiagramTableShape.